Page 1 of 1

Shadow Region Not Working!

Posted: Fri Jun 16, 2006 2:21 am
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");
}

Posted: Fri Jun 16, 2006 9:56 am
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.

Posted: Fri Jun 16, 2006 10:04 am
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.

Posted: Tue Jun 20, 2006 2:11 pm
by Guest
Offtopic: Interesting map. I love corridors.

Posted: Tue Jun 20, 2006 2:32 pm
by PR-0927
Don't you have to call it in the .lua?

- Majin Revan