Game Development Community

Changing the lighting direction

by Kirby Webber · in Torque Game Engine · 12/26/2005 (9:36 pm) · 3 replies

I have a skybox with the sun "painted" in it - it looks slick and I like it.

The problem I'm having is that nothing I change in the values for the Sun entity seem to actually change the direction the light is eminating from, which is problematic since all of the shodows are completely backwards to the direction of the skybox's sun. =\

Help?!

#1
12/26/2005 (10:42 pm)
Try changing the azimuth and elevation in the Sun object.
Edit: Make sure to relight the scene, also
#2
12/27/2005 (1:51 am)
Unless you have the lighting pack I seem to remember that the players shadow direction is hard coded
#3
12/27/2005 (8:55 am)
David... would that apply to static *.dif files as well? Might explain a lot.

Fortunately, I got the fundage I needed for the lighting pack just this Christmas. =)