Sunlight problem :(

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
Geomaster
Posts: 71
Joined: Tue Oct 21, 2008 3:39 pm

Sunlight problem :(

Post by Geomaster »

Hello everybody :D !

I don't know how to make sunlight in Irrlicht (exterior rendering). I've tried using Directional Light and it works OK, but it lights only one side of the model while other three remain totally black. I guess there is some basic solution of this, but my searches returned nothing special. I've tried using ambient light but it doesn't look OK :( Is ambient light / directional light my only opinion?
skumar
Posts: 201
Joined: Thu Feb 14, 2008 6:24 pm
Location: kerala state india
Contact:

Post by skumar »

Hi ,
Lighting is the soul of your realtime 3d app anyway.But its the hardest too. You are using simple methods by using directional lights. For getting better lighting you should use more than one lights..But thats too is very far from real..

If you want more realistic lighting,the nearest options is using lightmaps from some 3d editors like 3ds max or Blender. For 3ds max baking or lightmapping please refer my tutorial on that.....

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=31041

If still you are not satisfied ,you should go for the final destination....the world of SHADERS.... :shock: :shock:
skumar
radomiro
Posts: 7
Joined: Fri Dec 26, 2008 3:34 am

Post by radomiro »

one omnidirectional light and sufficient ambient level should be enough!
(but how to do it in Irrlicht dont ask me :? )
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

geomaster: any screenshot to show what you mentioned? i never try directional light so i'm kinda curious :o
Post Reply