Depth Bias

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
AReichl
Posts: 268
Joined: Wed Jul 13, 2011 2:34 pm

Depth Bias

Post 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?
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: Depth Bias

Post by mongoose7 »

PolygonOffset has been implemented. It appears to be a material parameter: PolygonOffsetDirection, PolygonOffsetFactor.
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Re: Depth Bias

Post by devsh »

just do it in the shader.... save yourself the incompatibilty issues
Post Reply