Game Development Community

Lighting from Constructor to Torque

by Alex Riggen · in Torque Game Engine · 03/11/2009 (4:17 pm) · 2 replies

How do you import your lighted interior from Constructor into the Torque Engine? I've lighted my interior the way I wanted in Constructor but when I export to .dif and import it into Torque the interior has none of the lights I've created and is just shaded to match the ambient light in Torque. If I turn down the ambient lighting it still doesn't have the right lighting. How do I export a .dif that has the proper lighting and should I judge how the lighting will look from the mipmapped preview mode or the dynamic preview mode?

Thanks!
Alex

#1
03/12/2009 (4:03 am)
What type of light are you placing inside Constructor? Should be light_omni(test with most generic type of light) with game type 'Torque'.

Inside Torque, your Sun object will need a color and ambient to be different and NOT all set at 1.
#2
03/12/2009 (11:21 am)
I've been testing with a point light and I've been using the game type "Constructor" so I'll change it to your suggestions and see if that works.