]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - scripts/weapons.shader
Fix subsequent centerprint messages from losing position fading
[xonotic/xonotic-data.pk3dir.git] / scripts / weapons.shader
index d9eac2bb90f14af51fee96ba0208bb8707841bd0..a6dcfaab86df5c107a1f64fce159d06f98359b1a 100644 (file)
@@ -9,6 +9,7 @@ electro
 nexgun
 {
        dpreflectcube cubemaps/default/sky
+       dpoffsetmapping - 0.3 match8 64
        {
                map textures/nexgun.tga
                rgbgen lightingDiffuse
@@ -54,14 +55,6 @@ shotgun2
                rgbgen lightingDiffuse
        }
 }
-nex
-{
-       dpreflectcube cubemaps/default/sky
-       {
-               map textures/nex.tga
-               rgbgen lightingDiffuse
-       }
-}
 rl
 {
        dpreflectcube cubemaps/default/sky
@@ -106,7 +99,7 @@ minelayer
 {
        dpreflectcube cubemaps/default/sky
        {
-               map textures/minelayer.tga
+               map textures/minelayer.tga      
                rgbgen lightingDiffuse
        }
 }