]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/effects_beam.shader
fix some shader bugs
[xonotic/xonotic-maps.pk3dir.git] / scripts / effects_beam.shader
index 7d16df52c189372ae5793e384fb629d2f4a3cae3..f6f1ee70821e83272eff344dc6e2e84686129fb1 100644 (file)
@@ -6,7 +6,7 @@ textures/effects_beam/beam-blue
        q3map_surfacelight 3000
        {
                map textures/effects_beam/beam-blue.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -18,7 +18,7 @@ textures/effects_beam/beam-purple
        q3map_surfacelight 3000
        {
                map textures/effects_beam/beam-purple.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -30,7 +30,7 @@ textures/effects_beam/beam-red
        q3map_surfacelight 3000
        {
                map textures/effects_beam/beam-red.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -42,7 +42,7 @@ textures/effects_beam/beam-green
        q3map_surfacelight 3000
        {
                map textures/effects_beam/beam-green.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }
 
@@ -54,6 +54,6 @@ textures/effects_beam/beam-yellow
        q3map_surfacelight 3000
        {
                map textures/effects_beam/beam-yellow.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
        }
 }