]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/scripts/evil4_lights.shader
Cubemap reflections for all fluid types, for much better water slime and lava
[voretournament/voretournament.git] / data / scripts / evil4_lights.shader
index ba9629ffd681aabb40576f0fc485da10aa63011f..b6644e229abdc07418d98dafc435b2a1e413c101 100644 (file)
@@ -1,5 +1,35 @@
+textures/evil4_lights/dwtrim_llight\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/evil4_lights/dwtrim_llight\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
+textures/evil4_lights/llight_s\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
+       {\r
+               map textures/evil4_lights/llight_s\r
+       }\r
+       {\r
+               map $lightmap\r
+               blendfunc GL_DST_COLOR GL_ZERO\r
+               rgbGen identity\r
+    }\r
+}\r
+\r
 textures/evil4_lights/steplight\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        surfaceparm nomarks\r
        q3map_surfacelight 1000\r
        //light1\r
@@ -20,6 +50,8 @@ textures/evil4_lights/steplight
 \r
 textures/evil4_lights/drkmtlsupport_light\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        surfaceparm nomarks\r
        q3map_surfacelight 1000\r
        {\r
@@ -40,7 +72,9 @@ textures/evil4_lights/drkmtlsupport_light
 \r
 textures/evil4_lights/s_light\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        qer_editorimage textures/evil4_lights/s_light.jpg\r
+       surfaceparm metalsteps\r
        surfaceparm nomarks\r
        q3map_surfacelight 2500\r
        {\r
@@ -57,6 +91,8 @@ textures/evil4_lights/s_light
 \r
 textures/evil4_lights/t_mtllight\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        surfaceparm nomarks\r
        q3map_surfacelight 1000\r
        //light1\r
@@ -73,6 +109,8 @@ textures/evil4_lights/t_mtllight
 \r
 textures/evil4_lights/mtl_lightsmll\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        surfaceparm nomarks\r
        q3map_surfacelight 1000\r
        //light1\r
@@ -91,6 +129,8 @@ textures/evil4_lights/mtl_lightsmll
 \r
 textures/evil4_lights/l_light_b\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        q3map_surfacelight 5000\r
        q3map_lightimage textures/evil4_lights/l_light_b.jpg\r
        {\r
@@ -106,6 +146,8 @@ textures/evil4_lights/l_light_b
 \r
 textures/evil4_lights/l_light_g\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        q3map_surfacelight 5000\r
        q3map_lightimage textures/evil4_lights/l_light_g.jpg\r
        {\r
@@ -121,6 +163,8 @@ textures/evil4_lights/l_light_g
 \r
 textures/evil4_lights/l_light_r\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        q3map_surfacelight 5000\r
        q3map_lightimage textures/evil4_lights/l_light_r.jpg\r
        {\r
@@ -136,6 +180,8 @@ textures/evil4_lights/l_light_r
 \r
 textures/evil4_lights/l_light_w\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        q3map_surfacelight 5000\r
        q3map_lightimage textures/evil4_lights/l_light_w.jpg\r
        {\r
@@ -151,6 +197,8 @@ textures/evil4_lights/l_light_w
 \r
 textures/evil4_lights/mtl_l1\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        q3map_surfacelight 1000\r
        q3map_lightimage textures/evil4_lights/mtl_l1.tga\r
        // LordHavoc: replaced most of this shader\r
@@ -202,6 +250,8 @@ textures/evil4_lights/mtl_l1
 \r
 textures/evil4_lights/trimtl_grlbtm_light\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        q3map_surfacelight 5000\r
        qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
        {\r
@@ -217,6 +267,8 @@ textures/evil4_lights/trimtl_grlbtm_light
 \r
 textures/evil4_lights/s_bluelight\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
+       surfaceparm metalsteps\r
        q3map_surfacelight 1000\r
        q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
        {\r