Ambient light in Irrlicht
Ambient light in Irrlicht
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
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!
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!
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.