]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - scripts/projectiles.shader
Restore original solid penetration settings (to be applied in a separate branch)
[xonotic/xonotic-data.pk3dir.git] / scripts / projectiles.shader
index 28b1e94920f0df7b3b9243b7c5794ca4028a1e80..6273b82bf70ca20fb6b2ad802ad5444815513673 100644 (file)
@@ -1,3 +1,25 @@
+arc_projectile_core
+{
+       surfaceparm nonsolid
+       surfaceparm nolightmap
+       deformVertexes autosprite
+       {
+               map textures/projectiles/arc_projectile_core.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               rgbGen lightingDiffuse
+       }
+}
+arc_projectile_long
+{
+       surfaceparm nonsolid
+       surfaceparm nolightmap
+       deformVertexes autosprite2
+       {
+               map textures/projectiles/arc_projectile_long.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               rgbGen lightingDiffuse
+       }
+}
 crylink_projectile_core
 {
        surfaceparm nonsolid
@@ -5,7 +27,7 @@ crylink_projectile_core
        deformVertexes autosprite
        {
                map textures/projectiles/crylink_projectile_core.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
                rgbGen lightingDiffuse
        }
 }
@@ -16,7 +38,7 @@ crylink_projectile_long
        deformVertexes autosprite2
        {
                map textures/projectiles/crylink_projectile_long.tga
-               blendfunc add
+               blendfunc GL_SRC_ALPHA GL_ONE
                rgbGen lightingDiffuse
        }
 }
@@ -87,4 +109,4 @@ laser_projectile_long
                blendfunc add
                rgbGen lightingDiffuse
        }
-}
\ No newline at end of file
+}