Digital Paint Discussion Board
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Digital Paint Discussion Board
»
Development
»
Mapping
(Moderator:
Chef-Killer
) »
How to use a sun (sky texture that lights whole map with sun)
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to use a sun (sky texture that lights whole map with sun) (Read 1743 times)
Silly
68 Carbine
Posts: 324
How to use a sun (sky texture that lights whole map with sun)
«
on:
March 18, 2007, 02:25:03 PM »
umm...
can you tell me how, or just leave a link on a thread that tells how to please?
thanks a lot guys
Logged
Spook
Autococker
Posts: 2542
Re: How to use a sun (sky texture that lights whole map with sun)
«
Reply #1 on:
March 18, 2007, 02:37:59 PM »
1. pick a sky
2. put "sky" "<skyname>" in worldspawn
3. optional: cover the top of the map with the sky texture
4. put _sun_ambient, _sun_diffuse, _sun_light, and sun_angle in worldspawn with the correct values
5. Compile and adjust values as you see fit
for the angles on the suns use the wiki page at:
http://digitalpaint.planetquake.gamespy.com/testwiki1/pb2wiki.php?word=Sun+Angles
Logged
Silly
68 Carbine
Posts: 324
Re: How to use a sun (sky texture that lights whole map with sun)
«
Reply #2 on:
March 18, 2007, 02:48:31 PM »
Can you name some values for them?
Logged
Spook
Autococker
Posts: 2542
Re: How to use a sun (sky texture that lights whole map with sun)
«
Reply #3 on:
March 18, 2007, 05:50:27 PM »
for light use 100-300 no higher only lower for moonlight.
angles are given
diffuse i use 20 or lower
ambient i use 20 or lower
Logged
jitspoe
Administrator
Autococker
Posts: 18802
Re: How to use a sun (sky texture that lights whole map with sun)
«
Reply #4 on:
March 19, 2007, 01:00:32 AM »
Note that diffuse should be somewhere between your ambient and light values, as it blends them together.
Logged
nightryder
68 Carbine
Posts: 448
Re: How to use a sun (sky texture that lights whole map with sun)
«
Reply #5 on:
March 21, 2007, 04:21:42 PM »
jitspoe you should be a teacher
Logged
Wolf Man
Stingray
Posts: 88
Re: How to use a sun (sky texture that lights whole map with sun)
«
Reply #6 on:
March 21, 2007, 04:37:14 PM »
of what? mapping-ology
Logged
Zorchenhimer
Autococker
Posts: 2614
Re: How to use a sun (sky texture that lights whole map with sun)
«
Reply #7 on:
March 21, 2007, 07:17:00 PM »
"Mapology"
Logged
Print
Pages: [
1
]
« previous
next »
Digital Paint Discussion Board
»
Development
»
Mapping
(Moderator:
Chef-Killer
) »
How to use a sun (sky texture that lights whole map with sun)