Lightmaps have only one color

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.
Bersi
Posts: 53
Joined: Tue Sep 04, 2007 8:23 pm

Post by Bersi »

The only thing that I don't understand now is why it works for some people and why it also doesn't work for me with opengl.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Irrlicht 1.3.1 did not set up the second set of texture coords, hence you only get the lightmap texture's border displayed. Use 1.4
Bersi
Posts: 53
Joined: Tue Sep 04, 2007 8:23 pm

Post by Bersi »

With 1.4 and OpenGL it works but not with DX9. I don't know how I can set the second set of texture coords. Can you help me?


EDIT: Ok I got it. Found video::S3DVertex2TCoords and now it works fine. Thank you hybrid and thank you greenya. ;)
Post Reply