]> 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 2ed0c9ad660eaadc683525ff8d4025d29e1bfc6b..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
        }
 }
@@ -102,3 +104,11 @@ seeker
                rgbgen lightingDiffuse
        }
 }
+minelayer
+{
+       dpreflectcube cubemaps/default/sky
+       {
+               map textures/minelayer.tga
+               rgbgen lightingDiffuse
+       }
+}