]> 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 c093eb3334808095149715e2413d7ad8ef68f542..dfbbd5e8af8ad13cf5f7e85f255b56edb2b5c566 100644 (file)
@@ -54,27 +54,29 @@ shotgun2
                rgbgen lightingDiffuse
        }
 }
-nex
+rl
 {
        dpreflectcube cubemaps/default/sky
        {
-               map textures/nex.tga
+               map textures/rl.tga
                rgbgen lightingDiffuse
        }
 }
-rl
+models/weapons/laser
 {
        dpreflectcube cubemaps/default/sky
+    dpoffsetmapping - 0.25 match8 128
        {
-               map textures/rl.tga
+               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
        }
 }