Tag Info

Hot answers tagged

2

The proper way of doing this is to implement the alpha test yourself in a pixel shader and clip (-1) any pixel that fails. This will discard the pixel and no depth or stencil values will be written to the framebuffer, without having to write anything to a separate color buffer and perform an extra test afterwards. As discussed in comments, arbitrarily ...



Only top voted, non community-wiki answers of a minimum length are eligible