Page 1 of 1

DX and OGL questions

Posted: Fri May 05, 2006 2:04 pm
by $L!M
I've got problems with mesh borders and ligthing color.
Here is 2 picures with same settings.
DX picture
Image
OpenGL picture
Image

As U can see, there are pretty borders when using opengl but picture is blue :lol: .
In case of DX picture color great, but we have ugly borders.

Posted: Fri May 05, 2006 6:42 pm
by gfxstyler
the border effect is called z-fighting, you can either enable the stencil buffer or increase the farplane and decrease the nearplane or something like that :)

good luck!

Posted: Fri May 05, 2006 6:53 pm
by $L!M
After enabling stencil buffer everythig seems to be ok. Thank you. :wink: