]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/effects_warpzone.shader
Greenedge warpzone
[xonotic/xonotic-maps.pk3dir.git] / scripts / effects_warpzone.shader
index 1e89243e6974c996bdf0ac5b00acceeba8afc84a..dee4b2bb1ea090489ca3787857d4cc8bf17303fd 100644 (file)
@@ -22,7 +22,7 @@ textures/effects_warpzone/blueedge
        cull none
        {
                map textures/effects_warpzone/blueedge.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -34,10 +34,23 @@ 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