fix some shader bugs
[xonotic/xonotic-maps.pk3dir.git] / scripts / logos.shader
index a43ed83aae94c0cb03e3e8fb39975a8540956920..8028e04c33b583c066364f5b4eeed6dbc03e625a 100644 (file)
@@ -34,7 +34,7 @@ textures/logos/logo01_blue_glowy
 
        {
                map textures/logos/logo01/logo01_blueg.tga
-               blendFunc add
+               blendFunc GL_SRC_ALPHA GL_ONE
                alphaFunc GT0
                rgbgen identity
        }
@@ -76,7 +76,7 @@ textures/logos/logo01_red_glowy
 
        {
                map textures/logos/logo01/logo01_redg.tga
-               blendFunc add
+               blendFunc GL_SRC_ALPHA GL_ONE
                alphaFunc GT0
                rgbgen identity
        }
@@ -118,7 +118,7 @@ textures/logos/logo01_green_glowy
 
        {
                map textures/logos/logo01/logo01_greeng.tga
-               blendFunc add
+               blendFunc GL_SRC_ALPHA GL_ONE
                alphaFunc GT0
                rgbgen identity
        }
@@ -160,7 +160,7 @@ textures/logos/logo01_yellow_glowy
 
        {
                map textures/logos/logo01/logo01_yellowg.tga
-               blendFunc add
+               blendFunc GL_SRC_ALPHA GL_ONE
                alphaFunc GT0
                rgbgen identity
        }
@@ -202,7 +202,7 @@ textures/logos/logo02_red_glowy
 
        {
                map textures/logos/logo02/logo02_redg.tga
-               blendFunc add
+               blendFunc GL_SRC_ALPHA GL_ONE
                alphaFunc GT0
                rgbgen identity
        }
@@ -244,7 +244,7 @@ textures/logos/logo02_blue_glowy
 
        {
                map textures/logos/logo02/logo02_blueg.tga
-               blendFunc add
+               blendFunc GL_SRC_ALPHA GL_ONE
                alphaFunc GT0
                rgbgen identity
        }
@@ -286,7 +286,7 @@ textures/logos/logo02_green_glowy
 
        {
                map textures/logos/logo02/logo02_greeng.tga
-               blendFunc add
+               blendFunc GL_SRC_ALPHA GL_ONE
                alphaFunc GT0
                rgbgen identity
        }
@@ -328,8 +328,8 @@ textures/logos/logo02_yellow_glowy
 
        {
                map textures/logos/logo02/logo02_yellowg.tga
-               blendFunc add
+               blendFunc GL_SRC_ALPHA GL_ONE
                alphaFunc GT0
                rgbgen identity
        }
-}
\ No newline at end of file
+}