PDA

View Full Version : GL_DEPTH_CLAMP_NV extension



Alessandro_dup1
12-10-2004, 01:01 PM
There is a way to "emulate" GL_DEPTH_CLAMP_NV extension on Ati cards ?

V-man
12-10-2004, 11:28 PM
I did a search and it looks like it has been answered:

http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=3;t=011367

But I think it is not sufficient to do what DEPTH_CLAMP_NV is doing.



You can use an infinite projection matrix to eliminate far plane clipping. That is often sufficient for hardware/drivers that do not support NV_depth_clamp.
What about the near plane?