Page 1 of 1

ive got a curious question about lighting

Posted: Sun Nov 17, 2002 10:21 pm
by lighting
im wondering how you light a map evenly all over without putting little lights everywhere. I dont wnat the level to be bright like a sunny day though. its going to be cloudy and a lil dark, but not night time dark.

Posted: Mon Nov 18, 2002 1:06 am
by : )
Try this:
Press N and make sure you are in the worldspawn text. Should be the last one on the list on the top of the entity thing:

And put these values in the key/value section at the bottom:
KEY / VALUE
ambientlight / 70 70 70

Now I'm not sure how to make a dark Ambient light, but either increase or decrease the values.

Thanks that worked perfect

Posted: Mon Nov 18, 2002 8:51 am
by lighting
Thank you :lol:

Posted: Mon Nov 18, 2002 2:11 pm
by Surgeon
The 3 numbers ie 70 70 70 each correspond to the 3 primary colours : Red, Green and Blue. the lower the numbers the darker the ambient light. You could add sunlight/moonlight using suncolor 20 20 20 etc.

Posted: Thu Nov 21, 2002 1:15 pm
by General Death
For more "realistic" lighting use suncolor not ambientlight as your key and then whatever x x x amount for your value.

Posted: Mon Nov 25, 2002 12:15 am
by Sgt Stryker
So by using "suncolor" instead of "ambientlight" you can have outside areas lit up by a sunflare and other areas lit up by those little lights?

Posted: Mon Nov 25, 2002 12:26 am
by General Death
So by using "suncolor" instead of "ambientlight" you can have outside areas lit up by a sunflare and other areas lit up by those little lights?
You got it;) suncolor is the way to go for outdoor areas that need to be lit.

Add sundurection x x x (coord of the sun like -45 90 0....last number of set doesnt seem to work) for shadows and then dont forget to complie your map with -staticshadows in the light section to get shadows from your statics.