Game Development Community

Lighting wa?

by Quest Johnny · in Constructor · 06/12/2008 (12:39 pm) · 1 replies

I'm having some troubles with Torque Constructor lights..

Here is my level in mapped mode:
www.flickr.com/photos/loopywolf/2573855408/

Here it is in shaded mode:
www.flickr.com/photos/loopywolf/2573855414/

Here it is in dynamic mode:
www.flickr.com/photos/loopywolf/2573855422/

and here it is in game:
www.flickr.com/photos/loopywolf/2573855426/

As you can see, in-game it looks nothing like any of the preview modes, and I'm a bit baffled. Dynamic is what I had hoped it would be like.

Here are my sun-values in mission:
new Sun() {
canSaveDynamicFields = "1";
azimuth = "45";
elevation = "45";
color = "0.35 0.35 0.35 1";
ambient = "0.15 0.15 0.27 1";
CastsShadows = "1";
rotation = "1 0 0 0";
direction = "0.57735 0.57735 -0.57735";
scale = "1 1 1";
position = "0 0 0";
};

In the mission, I have my lights at 75-100% intensity and falloffs in the 25-50 range

Does anybody know what I am doing wrong?

#1
08/03/2008 (3:56 pm)
Do you have a roof on it? I would suggest that in Constructor it doesn't light for the sun, and assumes you have a roof on it, so in game, the sun is pouring in over the rooms.