Author Topic: How to use a sun (sky texture that lights whole map with sun)  (Read 1729 times)

Silly

  • 68 Carbine
  • Posts: 324
umm...

can you tell me how, or just leave a link on a thread that tells how to please?

thanks a lot guys


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

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?

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

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.

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

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

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" :)