No light with the irrlicht 4.2

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
Soldier of infortune
Posts: 29
Joined: Fri Sep 19, 2003 8:36 am

No light with the irrlicht 4.2

Post by Soldier of infortune »

Hello,

I got an error when i convert my game to irrlicht 4.2, my screenshots :

Irrlicht 4.1 :
http://stimpunx.fr.st/irrlicht/erreur/irrlicht41.jpg

Irrlicht 4.2 :
http://stimpunx.fr.st/irrlicht/erreur/irrlicht42.jpg

There is no light in game with the irrlicht 4.2

I modify two of code :
DT_DIRECTX to EDT_DIRECTX and TS_WORLD to ETS_WORLD

Have you got an explication ?

Thanks in advance !
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Looks like this runs with linux? Didn't you make any changes to the code in the version of the first shot? (Multitexturing etc..) If so, you'll have to make these changes in the new version of the engine too.
Soldier of infortune
Posts: 29
Joined: Fri Sep 19, 2003 8:36 am

Post by Soldier of infortune »

I run my game under Linux. The problem is the multitexturing, it is disabling.
I have modified the code of the engine 4.1 with this tip :
http://irrlicht.sourceforge.net/phpBB2/ ... turing#248

So I modify the irrlicht 4.2 engine. But the multitexturing is always disabled !
Soldier of infortune
Posts: 29
Joined: Fri Sep 19, 2003 8:36 am

Post by Soldier of infortune »

This is my solution :
remove the lines 213 to 215 in CVideoOpengl.cpp
Post Reply