Page 1 of 1
How to change burn terrain shadow directions?
Posted: Fri Jan 28, 2005 9:22 am
by Rends
I tried to use the burn terrain option for my Abridon map but the editor burns the shadow to the wrong direction. It burns shadows to the right (east) side while ingame my 3dshadows are set to left (west) in the sky lua.
Posted: Fri Jan 28, 2005 6:17 pm
by Rends
Please check this.
left screenshot is from editor and right from the game:

and these are the sun seetings:
SunInfo()
{
Angle(145.000005, -200.000000);
Color(250, 246, 166);
ShadowColor(125, 125, 125);
Texture("");
Degree(0.000000);
BackAngle(210.000028, 0.000000);
BackColor(0, 0, 0);
BackDegree(0.000000);
}
And the sun is set at the correct location ingame compared to the direction of the 3d shadows.
Posted: Fri Jan 28, 2005 8:30 pm
by Rends
Have a close look at the editor image. The terrain right from the building looks darker after burning and so did all other burning effects. I tlooks that the sunlight is coming from left in the editor. Ok, i will play with with the backangles values to see if i can fix it.