]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/scripts/stormkeep.shader
Cubemap reflections for all fluid types, for much better water slime and lava
[voretournament/voretournament.git] / data / scripts / stormkeep.shader
index a52a0635e8b6b9e9907d4f32dd970a2cb02f3029..e9dede94211bc02f739b6af7eaf8869ad94e63a1 100644 (file)
@@ -36,6 +36,12 @@ textures/stormkeep/lava
                map textures/stormkeep/lava.tga\r
                blendfunc add\r
        }\r
+       dpreflectcube cubemaps/default/sky\r
+       {\r
+               map $lightmap\r
+               blendfunc add\r
+               tcGen lightmap\r
+       }\r
 }\r
 \r
 textures/stormkeep/lava_flow\r
@@ -51,5 +57,11 @@ textures/stormkeep/lava_flow
                blendfunc add\r
                tcMod scroll 0 -0.25\r
        }\r
+       dpreflectcube cubemaps/default/sky\r
+       {\r
+               map $lightmap\r
+               blendfunc add\r
+               tcGen lightmap\r
+       }\r
 }\r
 \r