Shadow Region Not Working!

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
xwingguy

Shadow Region Not Working!

Post by xwingguy »

I have set up some global lighting for my Endor map and I'm trying to get a shadow region inside my interiors so the blinking glare of the sun and the glow from the planet doesn't blind everyone. Thing is that it isn't working and I don't have a clue to why.

Here's the code in the RGN file:

Code: Select all

Region("shadow directional=0.1 directional1=0.1 colortop=128,128,128 colorbottom=128,128,128", 0)
{
	Position(-490.944000, 191.172821, 252.873688);
	Rotation(1.000000, 0.000000, 0.000000, 0.000000);
	Size(150.000000, 20.000000, 150.000000);
	Name("Region0");
}
RC-1290

Post by RC-1290 »

I don't really see why you would need a shadow region inside my building. I didn't need a shadow region to let my cantina look like you are inside. maybe I don't get it becouse I'm still noob.
xwingguy

Post by xwingguy »

Suuuuure, but white light on white surfaces make for an unbelievably powerful glare.

Image


Really bright on one side:

Image


And really kinda dim on the other side:

Image


Has to do with the fact that unlike most land maps, in my space map the sun is almost horizontal with the horizon.
Guest

Post by Guest »

Offtopic: Interesting map. I love corridors.
User avatar
PR-0927
Old School Staff
Posts: 844
Joined: Fri Dec 31, 2004 9:15 pm
Location: Kent, OH, U.S.A.

Post by PR-0927 »

Don't you have to call it in the .lua?

- Majin Revan
Post Reply