more flexible border render pass