Page 1 of 1

Depth Bias

Posted: Thu Mar 05, 2015 10:44 am
by AReichl
i found this (old) article:
http://aras-p.info/blog/2008/06/12/dept ... -yourself/

I don't say there is a problem with this in Irrlicht, but sometimes i get different
results with OpenGL and DirectX. Because i don't know enaugh about the internal
details, i normally give up then.

How does Irrlicht handle this?

Re: Depth Bias

Posted: Thu Mar 05, 2015 12:04 pm
by mongoose7
PolygonOffset has been implemented. It appears to be a material parameter: PolygonOffsetDirection, PolygonOffsetFactor.

Re: Depth Bias

Posted: Sun Mar 08, 2015 9:56 pm
by devsh
just do it in the shader.... save yourself the incompatibilty issues