Page 1 of 1

Extremely odd and annoying lighting problems.

Posted: Sun Sep 20, 2009 7:43 pm
by Fiodis
I'm trying to give the shipped Endor a quick edit - namely, freeze it.

To this end, I made everything snowy, added snow, etc. A problem, however, arises.

The white ground gives off a painful white glare.
Hidden/Spoiler:
Image
How do I get rid of this? I tried changing a few lines in the world's fx file:

Code: Select all

	WorldBrightness(0.25);
//And also this:
	PC()
	{
		GammaBrightness(0.25);
Where before they were both .5, but that didn't work. I thought about setting a darker ambient light, but when I loaded the stock Endor world file from my mod's folders, almost none of the objects appeared, and I didn't want to save a corrupted world file.

Anyone know how I can lower the intensity of this brightness?


Another lighting problem is this:
The ground has green lighting. No doubt this is good for stock Endor, but not so much for me. I think it's ambient lighting - although it looks a bit different, and it "moves" to simulate trees swaying in the wind, which I didn't know ambient lighting could do. I don't want to try setting a new ambient lighting with the world file coming up strangely as it does in ZE....any ideas?

A pic:
Hidden/Spoiler:
Image

Re: Extremely odd and annoying lighting problems.

Posted: Sun Sep 20, 2009 7:56 pm
by Maveritchell
Remove this section from Endor's .fx file:

Code: Select all

Effect("WorldShadowMap")
{
	Enable(1);
	Texture("end_canopy");
	LightName("sun");
	TextureScale(70.0);	
	AnimationFrequency(0.1);
	AnimationAmplitude0(2.0, 0.0);
	AnimationAmplitude1(0.05,-0.1);
}
...and your problems will be gone.