DX and OGL questions

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
$L!M
Posts: 28
Joined: Thu May 04, 2006 1:21 pm
Location: Ukraine :)

DX and OGL questions

Post 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.
gfxstyler
Posts: 222
Joined: Tue Apr 18, 2006 11:47 pm

Post 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!
$L!M
Posts: 28
Joined: Thu May 04, 2006 1:21 pm
Location: Ukraine :)

Post by $L!M »

After enabling stencil buffer everythig seems to be ok. Thank you. :wink:
Post Reply