]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/liquids_lava.shader
fix some shader bugs
[xonotic/xonotic-maps.pk3dir.git] / scripts / liquids_lava.shader
index 5d3f2d790ddcdea264597f5883c89b99c9f918aa..036be232c1199910ac060d624cb3490f23c87539 100644 (file)
@@ -11,7 +11,7 @@ textures/liquids_lava/lava0
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -26,7 +26,7 @@ textures/liquids_lava/lava0_flow
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
                tcMod scroll 0 -0.25
        }
 }
@@ -44,7 +44,7 @@ textures/liquids_lava/lava0_blue
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0_blue.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -59,7 +59,7 @@ textures/liquids_lava/lava0_blue_flow
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0_blue.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
                tcMod scroll 0 -0.25
        }
 }
@@ -77,7 +77,7 @@ textures/liquids_lava/lava0_green
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0_green.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -92,7 +92,7 @@ textures/liquids_lava/lava0_green_flow
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0_green.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
                tcMod scroll 0 -0.25
        }
 }
@@ -110,7 +110,7 @@ textures/liquids_lava/lava0_purple
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0_purple.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -125,7 +125,7 @@ textures/liquids_lava/lava0_purple_flow
        q3map_lightSubdivide 64
        {
                map textures/liquids_lava/lava0_purple.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
                tcMod scroll 0 -0.25
        }
 }