Clipping Quad ?
Members - Reputation: 344
Posted 19 April 2012 - 04:11 PM
I want to specify a rectangular portion of the screen to act as a clipping rect for 3D objects. I'm thinking that I can simply render a quad and set to 0 the z-values for the pixels in the quad.
I know how to render the quad of course but I don't know how to set the z-values. I'm using world coordinates for the quad.
Also, should I do this in a shader ? Please help.
Crossbones+ - Reputation: 9342
Posted 19 April 2012 - 05:26 PM
It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.