Lightning

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
ColdFusion
Posts: 5
Joined: Fri May 14, 2010 10:30 pm

Lightning

Post by ColdFusion »

I am trying to project lightning on a object but for some reason it looks really bad in OpenGL&DirectX but looks fine in Burnings-video

i looked in the PPP lightning tut but i couldn't really make up Wat made the change between the styles of lightning
Example

D3D
Image

BurningsVideo
Image

I think D3D should be perfectly able to do the same thing as Burnings-Video does the question is. How ?

Thank you for your time
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

ColdFusion
Posts: 5
Joined: Fri May 14, 2010 10:30 pm

Post by ColdFusion »

Thank you it solved my problem !

PS. Is there a way to apply a global light (so there will always be a little-bit of light everywhere)
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

ColdFusion wrote:Is there a way to apply a global light (so there will always be a little-bit of light everywhere)

Code: Select all

smgr->setAmbientLight(irr::video::SColorf(0.5f, 0.5f, 0.5f));
"Whoops..."
Post Reply