Skip to main content
gamedev.net
🔒 Locked

GL_NV_depth_clamp

Started by penetrator 0 replies 350+ views
Original Post
penetrator
penetrator
Did anybody use this extension ? Can you help me with that, i studied the NV papers and it seems that i just have to glEnable(DEPTH_CLAMP_NV), but i get an error ''''DEPTH_CLAMP_NV'' : undeclared identifier'' running glutExtensionSupported("GL_NV_depth_clamp") says it is supported, so i dont know how to use the extension...
penetrator
penetrator
Solved ! I used the DEPTH_CLAMP_NV extension with
glEnable(GL_DEPTH_CLAMP_NV);
and now setting the minimum clip distance at 10.0f also stenciled shadows are correctly drawn.
I wonder however if Ati has an analogue extension, going to check it out.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.