]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - scripts/electro.shader
Restore a legacy hack to ensure core weapons have impulse priority, fixes #2714
[xonotic/xonotic-data.pk3dir.git] / scripts / electro.shader
index 29fa15a3e93c61c459e208dba3e5024481f648e2..4644037a890340aefe04048d9a80c74f88ce21df 100644 (file)
@@ -1,4 +1,4 @@
-textures/electro_plasma
+electro_plasma
 {
  {
        map textures/electro_plasma.tga
@@ -6,11 +6,20 @@ textures/electro_plasma
  }
 }
 
-textures/electro_plasma_hull
+electro_plasma_hull
 {
-        {
+       {
        map textures/electro_plasma_hull.tga
-       alphaFunc GT0
+       alphaFunc GE128
        rgbGen Vertex
-        }
+       }
+}
+
+electro
+{
+       dpreflectcube cubemaps/default/sky
+       {
+               map textures/electronew.tga
+               rgbgen lightingDiffuse
+       }
 }