Just a quick question…, why does the discard command not discard the writing to the depth buffer also?.., I just made a shader with discard at the top of the fragment function and I still get depth information from the objects using the shader…
Maybe I’m doing something silly? Thanks in advance!