model 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
magoon
Posts: 7
Joined: Wed Mar 16, 2016 9:58 pm

model lightning

Post by magoon »

Hello Guys,
I´ve got a question regarding the model lightning. My level has a static lightning given by the q3 map format.
My question is, how is model lightning normally handled in such a case? I guess i´ll have to set up a dynamic light rotating around the model (3rd person char) and figure out the position and color of the light sources used in the map? Is this assumption correct? If yes, how to?
Or how could this be handled?

Thanks for your help in advance :)
The_Glitch
Competition winner
Posts: 523
Joined: Tue Jan 15, 2013 6:36 pm

Re: model lightning

Post by The_Glitch »

If you want static lighting look into lightmaps. I don't know about the level your looking for specifically but I've been working with lightmapping in my GI for my project and I'm pretty pleased with it.
magoon
Posts: 7
Joined: Wed Mar 16, 2016 9:58 pm

Re: model lightning

Post by magoon »

hm. can you give me more hints about that?
I´ve got some object models (e.g. trees) which have no lightning. And I have a player model moving around the world. So I will need a "static" lighnting for the objects and a "dynamic" way for the player model.
Post Reply