light...
Moderator: Moderators
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
Ambient light
In Radiant press "n" with nothing selected, and in worldspawn find the key box and type "ambientlight" press enter to go to the value and type "20 20 20" (Higher numbers=more light, vice versa), then press enter. It's pretty easy
In Radiant press "n" with nothing selected, and in worldspawn find the key box and type "ambientlight" press enter to go to the value and type "20 20 20" (Higher numbers=more light, vice versa), then press enter. It's pretty easy
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
yep, higher numbers get you brighter light. These are % of RGB so if you want some red light do 20 0 0, green 0 20 0, etc.Bjarne BZR wrote:set key/value ambientlight/10 10 10 on worldspawn.
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
Sky
By now you should have a sky box for your map. The brushes that make it up are part of the worldspawn entity. Select one of them and hit key N. Then add the following Key/Values.
suncolor 60 60 60 // full daylight is 70 70 70.
ambientlight 17 17 17 // over 17 makes white things very, very bright.
sunflarename none // unless you want a blinding light in the sky (only in some skys).
farplane 13000 // sets the distence of fog from the player, if you want it.
farplane_color .6 .6 .7 // red, green, and blue colors 0 to 1 (gray fog).
There are other settings for worldspawn and you can see them in the gray box of the entity pop up, but you don't have to set them all.
suncolor 60 60 60 // full daylight is 70 70 70.
ambientlight 17 17 17 // over 17 makes white things very, very bright.
sunflarename none // unless you want a blinding light in the sky (only in some skys).
farplane 13000 // sets the distence of fog from the player, if you want it.
farplane_color .6 .6 .7 // red, green, and blue colors 0 to 1 (gray fog).
There are other settings for worldspawn and you can see them in the gray box of the entity pop up, but you don't have to set them all.
Last edited by tltrude on Thu Oct 30, 2003 1:28 am, edited 1 time in total.
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
mmm...maybe you don't but the sunflares gives you that nice glare effect when you look at the sun, the little circles.Guitarfan wrote:if you don't use sunflares you don't get shadows right? cause I always use sunflares and sundirection
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
Hmm..quoting myself...anywho check out Yarik's pic in his sig that's an example of the sun flare effect.smartaiguy wrote:mmm...maybe you don't but the sunflares gives you that nice glare effect when you look at the sun, the little circles.Guitarfan wrote:if you don't use sunflares you don't get shadows right? cause I always use sunflares and sundirection
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
sunflare none
Opps, its "sunflarename none". The sunflare does not cast shadows, it only blinds the players that look in that direction.
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
Re: sunflare none
Yes it also does that totltrude wrote:Opps, its "sunflarename none". The sunflare does not cast shadows, it only blinds the players that look in that direction.
*
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
Crunch made a great tute on sundirection and such, check it here...
http://www.freewebs.com/crunch/tutorials.htm
http://www.freewebs.com/crunch/tutorials.htm
Philip II of Macedon sent a message to Sparta:
"If I win this war, you will be slaves forever."
The Spartan ephors sent back a one word reply: "If".
"If I win this war, you will be slaves forever."
The Spartan ephors sent back a one word reply: "If".
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
YesGuitarfan wrote:well, then the shadows are from sundirection
I always use key: sundirection, value: -60 90 0
You can also use both sunlight for the outside and ambientlight for the underground bits.
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.


