X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fturrets.shader;h=a31bd59b79b0d8ba0e6ec41e52a03f2838c8ad5c;hb=79656c882fc0326ff4f5216c20380b05d5ac06ea;hp=006f67dd31a4ae721d9fc90df6830fb5c90c9802;hpb=80cd34d0a48e975018605aabebacba50e8029585;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/scripts/turrets.shader b/scripts/turrets.shader index 006f67dd3..a31bd59b7 100644 --- a/scripts/turrets.shader +++ b/scripts/turrets.shader @@ -1,15 +1,21 @@ -models/turrets/tesla_chrome +evil_basewall/mtl_gray { + { + map textures/exx/base/base_metal01 + rgbgen lightingDiffuse + } +} +models/turrets/tesla_chrome +{ qer_editorimage models/turrets/chrome.tga - //dp_reflect 0 0.75 0.75 1 0.5 + //dp_reflect 0 0.75 0.75 1 0.5 { - map models/turrets/chrome.tga + map models/turrets/chrome.tga rgbGen vertex - tcGen environment + tcGen environment tcMod scale 2 2 - } } @@ -20,11 +26,10 @@ models/turrets/phaser_beam nopicmip qer_editorimage models/turrets/phaser_beam - { + { map models/turrets/phaser_beam blendFunc GL_SRC_ALPHA GL_ONE } - } models/turrets/reactor_beams @@ -33,7 +38,7 @@ models/turrets/reactor_beams cull none qer_editorimage models/turrets/reactor - { + { map models/turrets/reactor blendFunc add } @@ -44,14 +49,11 @@ models/turrets/r_fx1 surfaceparm nomarks surfaceparm trans surfaceparm pointlight - surfaceparm nolightmap + surfaceparm nolightmap nopicmip qer_editorimage models/turrets/r_fx1_1 { - animmap 10 models/turrets/r_fx1_3 models/turrets/r_fx1_4 models/turrets/r_fx1_5 models/turrets/r_fx1_4 models/turrets/r_fx1_3 models/turrets/r_fx1_2 models/turrets/r_fx1_1 models/turrets/r_fx1_2 + animmap 10 models/turrets/r_fx1_3 models/turrets/r_fx1_4 models/turrets/r_fx1_5 models/turrets/r_fx1_4 models/turrets/r_fx1_3 models/turrets/r_fx1_2 models/turrets/r_fx1_1 models/turrets/r_fx1_2 } - } - -