bug in direct3d9 driver?

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
disrupterx
Posts: 3
Joined: Sun Oct 14, 2007 6:44 am

bug in direct3d9 driver?

Post by disrupterx »

hi 2 every one!.

i have a 3D object loaded from a .LWO (light wave), with many polygons and two materials. both materials have a brown color.

the scene looks correctly when i render with the opengl driver. but, when i use the direct3d driver, the scene looks incorrectly. the screenshots speak for themselves:

with OpenGL
Image

and with Direct3D
Image

why both drivers looks differently?

pd: excuse my poor english :S
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Hmm, strange. I'd have bet it's the other way round. Anyway, post your lighting settings or even better the whole code.
vi-wer
Posts: 93
Joined: Sun May 20, 2007 7:15 pm
Location: Germany
Contact:

Post by vi-wer »

I noticed the same a while ago. The problem is that the direct3d driver doesn't use SMaterial's DiffuseColor but only the vertex color. I guess them should be multiplied but it does not happen. Probably some render states are incorrect or missing. Would be great if that could be fixed.
Post Reply