]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - scripts/vehicles.shader
Restore a legacy hack to ensure core weapons have impulse priority, fixes #2714
[xonotic/xonotic-data.pk3dir.git] / scripts / vehicles.shader
index b8f0b0ca88b1a309e745be6b5b0f42ac07fc05ee..c1057298c1423e9b753d96e7486a93f45899bb25 100644 (file)
@@ -1,16 +1,51 @@
 spiderbot
 {
        dpreflectcube cubemaps/default/sky
-       {
+       {
                map textures/spiderbot.tga
                rgbgen lightingDiffuse
        }
 }
+
 wakazachi
 {
        dpreflectcube cubemaps/default/sky
-       {
+       {
                map textures/wakazachi.tga
                rgbgen lightingDiffuse
        }
-}
\ No newline at end of file
+}
+
+cockpit
+{
+       dpreflectcube cubemaps/default/sky
+       {
+               map textures/cockpit.tga
+               rgbgen lightingDiffuse
+       }
+}
+
+vehicles/tracercore
+{
+       surfaceparm nonsolid
+       surfaceparm nolightmap
+       deformVertexes autosprite
+       {
+               map models/vehicles/tracercore.tga
+               blendfunc add
+               rgbGen lightingDiffuse
+       }
+}
+
+vehicles/tracertrail
+{
+       surfaceparm nonsolid
+       surfaceparm nolightmap
+       cull none
+       deformVertexes autosprite2
+       {
+               map models/vehicles/tracertrail.tga
+               blendfunc GL_SRC_ALPHA GL_ONE
+               rgbGen lightingDiffuse
+       }
+}