Page 1 of 1

Sky.lua fog settings?

Posted: Sun Mar 26, 2006 7:33 am
by Delinquent
Ok, I have one question about them.

Is there a way to turn the fog settings in the sky.lua off in a certain region of the map, or to assign other fog propertys to a certain region?

To give you a better imagination of what I am trying to achieve.

I am creating a quite dark map.
These are my fog settings in the DQ5.sky

FogColor(18, 18, 24);
FogRange(-10.0, 200.0);

However I´d like to have an area on my map which is light and has a better visibility.

Now, is it possible to achieve this somehow?
Any ideas?

RE: Sky.lua fog settings?

Posted: Sun Mar 26, 2006 3:48 pm
by dreadlordnyax
well, i made a dark map with light parts, what i did was set the ambient light in zeroed really low, the put in omni lights where i wanted it lighter. there's probably a much better/easier way to do it, but it worked...

Posted: Sun Mar 26, 2006 4:38 pm
by Delinquent
Yeah you can do cool stuff with the lights.

I also have another directional light bound to that region which I want to be lighter than the rest of the map.

But I was thinking perhaps there is some sort of fog shadow region where you can turn the fog out.
Because even if you place a light in front of an object it will not have an effect on the limited visibility caused by the fog; so it will not make the object more visible through the fog.