]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Workaround for darkplaces#106 (blendfunc sorting)
authorbones_was_here <bones_was_here@yahoo.com.au>
Sat, 30 May 2020 06:12:11 +0000 (16:12 +1000)
committerbones_was_here <bones_was_here@yahoo.com.au>
Sat, 30 May 2020 06:12:11 +0000 (16:12 +1000)
scripts/exomorphx.shader

index 78cfb3843b6823830703546bb09d2fc3add2f630..2b248c2848d16d9db0d5e622cce3489c0b3e2361 100644 (file)
@@ -335,7 +335,7 @@ textures/exomorphx/grate-metal_grate02
 
        {
                map textures/exomorphx/grate/metal_grate02
-               blendfunc blend
+               alphafunc GE128
        }
 
        {
@@ -361,7 +361,7 @@ textures/exomorphx/grate-metal_grate04
 
        {
                map textures/exomorphx/grate/metal_grate04
-               blendfunc blend
+               alphafunc GE128
        }
 
        {
@@ -387,7 +387,7 @@ textures/exomorphx/grate-metal_grate03
 
        {
                map textures/exomorphx/grate/metal_grate03
-               blendfunc blend
+               alphafunc GE128
        }
 
        {
@@ -413,7 +413,7 @@ textures/exomorphx/grate-metal_grate06
 
        {
                map textures/exomorphx/grate/metal_grate06
-               blendfunc blend         
+               alphafunc GE128         
        }
 
        {
@@ -439,7 +439,7 @@ textures/exomorphx/grate-metal_grate01
 
        {
                map textures/exomorphx/grate/metal_grate01
-               blendfunc blend
+               alphafunc GE128
        }
 
        {
@@ -465,7 +465,7 @@ textures/exomorphx/grate-metal_grate05
 
        {
                map textures/exomorphx/grate/metal_grate05
-               blendfunc blend
+               alphafunc GE128
        }
 
        {
@@ -2480,4 +2480,4 @@ textures/exomorphx/wall-metal_panel01_orange
                tcGen lightmap
                blendfunc filter
        }
-}
\ No newline at end of file
+}