]> git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/scripts/evil4_lights.shader
Light cubemaps for all evil sets
[voretournament/voretournament.git] / data / scripts / evil4_lights.shader
index ba9629ffd681aabb40576f0fc485da10aa63011f..f26606b4e1147c8aa0af8f729fdb12a5ce690884 100644 (file)
@@ -1,5 +1,32 @@
+textures/evil4_lights/dwtrim_llight\r
+{\r
+       dpreflectcube cubemaps/exomorph/exomorph\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
+       {\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 nomarks\r
        q3map_surfacelight 1000\r
        //light1\r
@@ -20,6 +47,7 @@ textures/evil4_lights/steplight
 \r
 textures/evil4_lights/drkmtlsupport_light\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        surfaceparm nomarks\r
        q3map_surfacelight 1000\r
        {\r
@@ -40,6 +68,7 @@ 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 nomarks\r
        q3map_surfacelight 2500\r
@@ -57,6 +86,7 @@ textures/evil4_lights/s_light
 \r
 textures/evil4_lights/t_mtllight\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        surfaceparm nomarks\r
        q3map_surfacelight 1000\r
        //light1\r
@@ -73,6 +103,7 @@ textures/evil4_lights/t_mtllight
 \r
 textures/evil4_lights/mtl_lightsmll\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        surfaceparm nomarks\r
        q3map_surfacelight 1000\r
        //light1\r
@@ -91,6 +122,7 @@ textures/evil4_lights/mtl_lightsmll
 \r
 textures/evil4_lights/l_light_b\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        q3map_surfacelight 5000\r
        q3map_lightimage textures/evil4_lights/l_light_b.jpg\r
        {\r
@@ -106,6 +138,7 @@ textures/evil4_lights/l_light_b
 \r
 textures/evil4_lights/l_light_g\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        q3map_surfacelight 5000\r
        q3map_lightimage textures/evil4_lights/l_light_g.jpg\r
        {\r
@@ -121,6 +154,7 @@ textures/evil4_lights/l_light_g
 \r
 textures/evil4_lights/l_light_r\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        q3map_surfacelight 5000\r
        q3map_lightimage textures/evil4_lights/l_light_r.jpg\r
        {\r
@@ -136,6 +170,7 @@ textures/evil4_lights/l_light_r
 \r
 textures/evil4_lights/l_light_w\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        q3map_surfacelight 5000\r
        q3map_lightimage textures/evil4_lights/l_light_w.jpg\r
        {\r
@@ -151,6 +186,7 @@ textures/evil4_lights/l_light_w
 \r
 textures/evil4_lights/mtl_l1\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        q3map_surfacelight 1000\r
        q3map_lightimage textures/evil4_lights/mtl_l1.tga\r
        // LordHavoc: replaced most of this shader\r
@@ -202,6 +238,7 @@ textures/evil4_lights/mtl_l1
 \r
 textures/evil4_lights/trimtl_grlbtm_light\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        q3map_surfacelight 5000\r
        qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
        {\r
@@ -217,6 +254,7 @@ textures/evil4_lights/trimtl_grlbtm_light
 \r
 textures/evil4_lights/s_bluelight\r
 {\r
+       dpreflectcube cubemaps/exomorph/exomorph\r
        q3map_surfacelight 1000\r
        q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
        {\r