]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/effects_warpzone.shader
make messages more consistent
[xonotic/xonotic-maps.pk3dir.git] / scripts / effects_warpzone.shader
index ed896e1e5955b6727c8ba09ac2ba86ae3dbff3f4..ebb9d26db804177b752b4b0279455ee813e2374c 100644 (file)
@@ -1,5 +1,6 @@
 textures/effects_warpzone/wavy
 {
+       dpoffsetmapping none
        surfaceparm nolightmap
        // surfaceparm nonsolid // no, it must be solid like trigger
        surfaceparm trans
@@ -21,7 +22,7 @@ textures/effects_warpzone/blueedge
        cull none
        {
                map textures/effects_warpzone/blueedge.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -33,6 +34,16 @@ textures/effects_warpzone/rededge
        cull none
        {
                map textures/effects_warpzone/rededge.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
+       }
+}
+
+textures/effects_warpzone/warpzone_backdrop
+{
+       surfaceparm nomarks
+       nolightmap
+       {
+               tcMod turb 0 0.4 0 0.08
+               map textures/effects_warpzone/warpzone_backdrop
        }
 }