Depth bias clamping in opengl

Started by
12 comments, last by Eric Lengyel 9 years, 7 months ago

Shadow mapping? You probably are thinking of stencil shadows or planar stencil shadows.



:P Ya..i meant stencil shadows! On the flip side.. i m not really concerned about shadows.. I was building a rendering pipeline (supporting DX and Opengl).. so I was deciding what to put in that so that both api can be fed data seamlessly. Right now i was looking into the stencil buffer settings so it came up.

Thanks for all replies.
obhi
What if everyone had a restart button behind their head ;P
Advertisement

Eric Lengyel recently submitted an OpenGL extension to expose a feature similar to DepthBiasClamp.

It seems like NVida and AMD already implemented the extension in their OpenGL drivers (don't know if public though), see:

https://twitter.com/EricLengyel/status/506921134105690112

https://twitter.com/EricLengyel/status/504872945831788544

In fact, the extension has been ratified by Khronos now :) http://www.opengl.org/registry/specs/EXT/polygon_offset_clamp.txt

Nvidia has released the 340.76 beta driver with support for EXT_polygon_offset_clamp:

https://developer.nvidia.com/opengl-driver

This topic is closed to new replies.

Advertisement