I have a technique that uses vertex, geometry and pixel shaders
I want to render nothing to a texture when i read in the vertex shader a texel and i see that it has a determined value.
The best way I know in performance to make it render nothing is to replace the vertice position "w" (the fourth value) with 0.0f. Is there a fastest way? is there something similar to clip() but for the vertex shader? to stop going into the geometry shader.
Edited by lomateron, 12 February 2013 - 05:12 AM.