How to change burn terrain shadow directions?

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

How to change burn terrain shadow directions?

Post 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.
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Post by Rends »

Please check this.
left screenshot is from editor and right from the game:
Image
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.
User avatar
Rends
Sith
Sith
Posts: 1278
Joined: Fri Oct 15, 2004 6:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Post 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.
Post Reply