Page 1 of 1
Ambient light in Irrlicht
Posted: Sun Nov 27, 2005 2:12 pm
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
Posted: Sun Nov 27, 2005 3:41 pm
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!
Posted: Sun Nov 27, 2005 7:09 pm
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.