]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - scripts/weapons.shader
I remade first person laser animations and its now centered when player wants it
[xonotic/xonotic-data.pk3dir.git] / scripts / weapons.shader
index 1243955c8b66cf7c69663922d64b9f26a0f9fc34..dfbbd5e8af8ad13cf5f7e85f255b56edb2b5c566 100644 (file)
@@ -62,11 +62,21 @@ rl
                rgbgen lightingDiffuse
        }
 }
+models/weapons/laser
+{
+       dpreflectcube cubemaps/default/sky
+    dpoffsetmapping - 0.25 match8 128
+       {
+               map models/weapons/laser.tga
+               rgbgen lightingDiffuse
+       }
+}
 laser
 {
        dpreflectcube cubemaps/default/sky
+       dpoffsetmapping - 0.25 match8 128
        {
-               map textures/laser.tga
+               map models/weapons/laser.tga
                rgbgen lightingDiffuse
        }
 }