]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/effects_warpzone.shader
Delete the "cubemaps" folder, which was meant to be temporary but has been around...
[xonotic/xonotic-maps.pk3dir.git] / scripts / effects_warpzone.shader
index 81761ec18df57bce03c5c86a2dd8041e3c7aa8d8..dee4b2bb1ea090489ca3787857d4cc8bf17303fd 100644 (file)
@@ -1,11 +1,12 @@
-textures/warpzone/warpzone-wavy
+textures/effects_warpzone/wavy
 {
+       dpoffsetmapping none
        surfaceparm nolightmap
        // surfaceparm nonsolid // no, it must be solid like trigger
        surfaceparm trans
        surfaceparm nomarks
        {
-               map textures/warpzone/warpzone-wavy.tga
+               map textures/effects_warpzone/wavy.tga
                tcMod scroll 0.06 0.06
                blendfunc blend
        }
@@ -13,26 +14,49 @@ textures/warpzone/warpzone-wavy
        dp_refract 1 1 1 1 // makes the camera render like a refraction
 }
 
-textures/warpzone/warpzone-blueedge
+textures/effects_warpzone/blueedge
 {
        surfaceparm nonsolid
        surfaceparm nomarks
        q3map_surfacelight 2500
        cull none
        {
-               map textures/warpzone/warpzone-blueedge.tga
-               blendfunc add
+               map textures/effects_warpzone/blueedge.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
-textures/warpzone/warpzone-rededge
+textures/effects_warpzone/rededge
 {
        surfaceparm nonsolid
        surfaceparm nomarks
        q3map_surfacelight 2500
        cull none
        {
-               map textures/warpzone/warpzone-rededge.tga
-               blendfunc add
+               map textures/effects_warpzone/rededge.tga
+               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
        }
 }