start using skylight instead of stupid surfacelight for skies (compiles faster, looks...
authorRudolf Polzer <divverent@alientrap.org>
Tue, 17 Aug 2010 05:00:58 +0000 (07:00 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 17 Aug 2010 05:00:58 +0000 (07:00 +0200)
scripts/skies_calm_sea.shader
scripts/skies_distant_sunset.shader
scripts/skies_exosystem.shader
scripts/skies_exosystem2.shader
scripts/skies_extragalactic.shader
scripts/skies_heaven.shader
scripts/skies_polluted_earth.shader

index 46529a6..822778d 100644 (file)
@@ -8,7 +8,7 @@ textures/skies/calm_sea
        surfaceparm nolightmap
        surfaceparm nomarks
        q3map_globaltexture
-       q3map_surfacelight 100
+       q3map_skylight 150 4
        surfaceparm sky
 
         nopicmip
index 927a110..ee566d0 100644 (file)
@@ -7,7 +7,7 @@ textures/skies/distant_sunset
        surfaceparm nolightmap
        surfaceparm nomarks
        q3map_globaltexture
-       q3map_surfacelight 45
+       q3map_skylight 50 4
        surfaceparm sky
 
         nopicmip
index 710f57a..9211d07 100644 (file)
@@ -9,6 +9,6 @@ textures/skies/exosystem
        
        //q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
        q3map_sun 1 1 1 350 60 41.743
-       q3map_surfacelight 550
+       q3map_skylight 400 4
        skyparms env/exosystem/exosystem - -
 }
index 2ed77c1..dbf2216 100644 (file)
@@ -9,6 +9,6 @@ textures/skies/exosystem2
        
        //q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
        q3map_sun 1 .40625 .17578125 150 -55.452 17.379
-       q3map_surfacelight 300
+       q3map_skylight 200 4
        skyparms env/exosystem2/exosystem2 - -
 }
index f571964..895693d 100644 (file)
@@ -9,6 +9,7 @@ textures/skies/extragalactic_asteroids
 
        skyparms env/extragalactic/asteroids - - //farbox cloudheight nearbox
        q3map_sunExt 1 0.75 0.5 320 27 42 0 16 //rgb intensity degrees elevation deviance samples
+       q3map_skylight 50 4
 }
 
 textures/skies/extragalactic_nebulae
@@ -23,6 +24,7 @@ textures/skies/extragalactic_nebulae
        skyparms env/extragalactic/nebulae - - //farbox cloudheight nearbox
     q3map_skyLight 50 4 //amount iterations
        q3map_sunExt 1 0.9 0.8 300 66 36 3 16 //rgb intensity degrees elevation deviance samples
+       q3map_skylight 50 4
 }
 
 textures/skies/extragalactic_planets
@@ -36,4 +38,5 @@ textures/skies/extragalactic_planets
 
        skyparms env/extragalactic/planets - - //farbox cloudheight nearbox
        q3map_sunExt 1 0.9 0.8 320 124 42 0 16 //rgb intensity degrees elevation deviance samples
+       q3map_skylight 50 4
 }
index dab7334..97802bd 100644 (file)
@@ -9,6 +9,6 @@ textures/skies/heaven
        
        //q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>
        q3map_sun .9607843137254902 .7176470588235294 .3803921568627451 350 270 10
-       q3map_surfacelight 300
+       q3map_skylight 200 4
        skyparms env/heaven/heaven - -
 }
index 807610d..b270055 100644 (file)
@@ -15,5 +15,6 @@ textures/skies/polluted_earth
         nomipmaps
 
        q3map_sunExt 1 0.9 0.9 250 320 30
+       q3map_skylight 100 4
        skyparms env/polluted_earth/polluted_earth - -
 }