Torque 1.52 lighting
by Chris Sargent · in Torque Game Engine · 07/26/2008 (8:03 pm) · 2 replies
Hi everyone,
I had a question concerning 1.52 lighting. I was going through the tutorial and I added some buildings i got from other examples in torque as well as the cathedral from constructor.
Adding the buildings is not a problem and they look great, however when I click on relight scene the interiors go pitch black. I am not sure how to provide lighting for the interiors.
Any suggestions or pointers to this information would be greatly appreciated!
Thanks
I had a question concerning 1.52 lighting. I was going through the tutorial and I added some buildings i got from other examples in torque as well as the cathedral from constructor.
Adding the buildings is not a problem and they look great, however when I click on relight scene the interiors go pitch black. I am not sure how to provide lighting for the interiors.
Any suggestions or pointers to this information would be greatly appreciated!
Thanks
About the author
#2
One other question, though, what do you mean by the interiors using portals?
07/27/2008 (12:12 pm)
Thanks I had just found the lighting section on TDN and was reading through it and it pretty much just said exactly what you told me. The interiors are dark to look into and are dark when I go in them.One other question, though, what do you mean by the interiors using portals?
Torque Owner Raimonds Zigurs
So, this is where you have to put your own static or dynamic lighting in. Static is cheaper for CPU so i'd suggest to go for that. You can put lightening from mission editor inside your game, press F11, then F4. In creator list scroll down to Mission Objects/Environment/fxLight.
Put the light bulb inside your interior, change its settings trough inspector (F3) if you want to, and relight the scene again
-Ray