]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/effects_warpzone.shader
Small tweaks on Implosion
[xonotic/xonotic-maps.pk3dir.git] / scripts / effects_warpzone.shader
index ed896e1e5955b6727c8ba09ac2ba86ae3dbff3f4..dee4b2bb1ea090489ca3787857d4cc8bf17303fd 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,29 @@ textures/effects_warpzone/rededge
        cull none
        {
                map textures/effects_warpzone/rededge.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
+       }
+}
+
+textures/effects_warpzone/greenedge
+{
+       surfaceparm nonsolid
+       surfaceparm nomarks
+       q3map_surfacelight 2500
+       cull none
+       {
+               map textures/effects_warpzone/greenedge.tga
+               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
        }
 }