Game Development Community

Can I Turn Of Sunlight, Fog...

by Michael Hense · in Torque Game Engine · 04/15/2006 (6:20 am) · 2 replies

... during runtime?

i need to be able to enter the 'interior' of a model, and have it darker, or independent of the outside lighting... then on emerging from the model, restore the original light, fog settings...

any ideas or pointers to related threads or faqs would be greatly appreciated...

thx

--Mike

#1
04/15/2006 (9:06 pm)
Changing fog at runtime is no problem... the TGE demo even does this. Lighting, it depends what you mean... if your interior is portalled off, then it will rely only on it's interior lighting and ignore the sunlight within that zone.
#2
04/16/2006 (5:03 am)
Thx Paul... for the help...

on the lighting thing, i'm talking about inside a .dts model...
is it possible to change the global lighting at runtime...

--Mike