Ambient light in Irrlicht

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
fireblade
Posts: 9
Joined: Sun Nov 27, 2005 2:07 pm

Ambient light in Irrlicht

Post by fireblade »


Hi I started 3d outdoor engine on Irrlicht and at the moment I don't want
to deal with lights .
Could anybody suggest how could i enable something like
ambient light in D3D to light the all meshes .
Thanks
bobi
Guest

Post by Guest »

dear fireblade,

please take a look at the FAQ the next time (right at the top of the beginners forum) and also try to use the search function ;)

here is the link you are looking for:
http://irrlicht.sourceforge.net/phpBB2/ ... 8831#58831

ps:
if you want a global dynamic lighting like a sun, just create a light with a very high radius and at a high position above the level, then apply a color.


bye!
Guest

Post by Guest »

Yeah an ambient light will just give a uniform brightness but look terrible on its own (with no shadows from dynamic lights or lightmapping) so just add 1 normal light as well (or instead) as mentioned and set a large radius - note DIRECTIONAL lights are much better (faster) for this so look at irrspintz for support of those until the next release of irrlicht.
Post Reply