Since its already available in DX11 there should be an already existing extension in opengl 4.1 supporting this?
Thanks for any info.
-obhi
I don't know anything about direct X but can it be that u'R looking for polygon offset, it's an extension from OpenGL 1.0
http://www.opengl.or...lygonOffset.xml
Isn't this something that you could put in your pixel shader? glPolygonOffset is deprecated now anyway, unless I'm misunderstanding what this "depth bias" function in directx does. Sounds like you could implement whatever you want in the pixel shader.
Hm thats odd, I could have sworn I looked this up a month or two ago and found it deprecated, but now when I look it seems to not be deprecated. Must be going crazy
Shadow mapping? You probably are thinking of stencil shadows or planar stencil shadows.
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:
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:
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more