From 9f1cf3437fbec2c4a43420f9510f3ee4b74099e4 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 17 Aug 2010 07:00:58 +0200 Subject: [PATCH] start using skylight instead of stupid surfacelight for skies (compiles faster, looks better) --- scripts/skies_calm_sea.shader | 2 +- scripts/skies_distant_sunset.shader | 2 +- scripts/skies_exosystem.shader | 2 +- scripts/skies_exosystem2.shader | 2 +- scripts/skies_extragalactic.shader | 3 +++ scripts/skies_heaven.shader | 2 +- scripts/skies_polluted_earth.shader | 1 + 7 files changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/skies_calm_sea.shader b/scripts/skies_calm_sea.shader index 46529a64..822778dd 100644 --- a/scripts/skies_calm_sea.shader +++ b/scripts/skies_calm_sea.shader @@ -8,7 +8,7 @@ textures/skies/calm_sea surfaceparm nolightmap surfaceparm nomarks q3map_globaltexture - q3map_surfacelight 100 + q3map_skylight 150 4 surfaceparm sky nopicmip diff --git a/scripts/skies_distant_sunset.shader b/scripts/skies_distant_sunset.shader index 927a1102..ee566d06 100644 --- a/scripts/skies_distant_sunset.shader +++ b/scripts/skies_distant_sunset.shader @@ -7,7 +7,7 @@ textures/skies/distant_sunset surfaceparm nolightmap surfaceparm nomarks q3map_globaltexture - q3map_surfacelight 45 + q3map_skylight 50 4 surfaceparm sky nopicmip diff --git a/scripts/skies_exosystem.shader b/scripts/skies_exosystem.shader index 710f57ae..9211d079 100644 --- a/scripts/skies_exosystem.shader +++ b/scripts/skies_exosystem.shader @@ -9,6 +9,6 @@ textures/skies/exosystem //q3map_sun q3map_sun 1 1 1 350 60 41.743 - q3map_surfacelight 550 + q3map_skylight 400 4 skyparms env/exosystem/exosystem - - } diff --git a/scripts/skies_exosystem2.shader b/scripts/skies_exosystem2.shader index 2ed77c11..dbf2216d 100644 --- a/scripts/skies_exosystem2.shader +++ b/scripts/skies_exosystem2.shader @@ -9,6 +9,6 @@ textures/skies/exosystem2 //q3map_sun q3map_sun 1 .40625 .17578125 150 -55.452 17.379 - q3map_surfacelight 300 + q3map_skylight 200 4 skyparms env/exosystem2/exosystem2 - - } diff --git a/scripts/skies_extragalactic.shader b/scripts/skies_extragalactic.shader index f571964d..895693dd 100644 --- a/scripts/skies_extragalactic.shader +++ b/scripts/skies_extragalactic.shader @@ -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 } diff --git a/scripts/skies_heaven.shader b/scripts/skies_heaven.shader index dab73342..97802bd6 100644 --- a/scripts/skies_heaven.shader +++ b/scripts/skies_heaven.shader @@ -9,6 +9,6 @@ textures/skies/heaven //q3map_sun q3map_sun .9607843137254902 .7176470588235294 .3803921568627451 350 270 10 - q3map_surfacelight 300 + q3map_skylight 200 4 skyparms env/heaven/heaven - - } diff --git a/scripts/skies_polluted_earth.shader b/scripts/skies_polluted_earth.shader index 807610da..b2700559 100644 --- a/scripts/skies_polluted_earth.shader +++ b/scripts/skies_polluted_earth.shader @@ -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 - - } -- 2.39.2