• Advertisement

Archived

This topic is now archived and is closed to further replies.

GL_NV_depth_clamp

This topic is 5301 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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...

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites

  • Advertisement