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 46529a64204c745a3461550921a831fa1404650e..822778dd76ad9ac7a769691dec1fbf4866919537 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 927a11021efed07542a990597aa37760b1784ec6..ee566d0664dd619313d4d9c203ef9aba676ef827 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 710f57ae19a6b5e963a2b1ae2a578045f7effd0c..9211d079a09d5f7b45cbbf1bec46b805f5fb801d 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 2ed77c119269b17138e17f7ecbb2a8a3667a91b7..dbf2216d30585fbb3bcbcbde128ad08b8969c7fa 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 f571964dd1a5ddd491ef28507922d45f8f30dc7a..895693ddb85235ef3ee7b920c6e39a0d0c5ec839 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 dab7334243f7ef64ea43817f527fc1675c8e36f3..97802bd62c0696d65d08f7af8c1974af10c5cedb 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 807610da22be3765c905d7c0e9067a4f09f0ee4f..b270055930456e79404cfb0bbcd9a3864bbe798e 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 - -
 }