From: Rudolf Polzer Date: Sat, 15 May 2010 18:14:42 +0000 (+0200) Subject: Merge remote branch 'refs/remotes/origin/tzork/turrets' X-Git-Tag: xonotic-v0.1.0preview~612 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=477b7b3e324bdb74aee19bfee925d708c7cf9758;hp=c0a62f7fed5232a6bb4058e7bfe3d2ed1355ba3f Merge remote branch 'refs/remotes/origin/tzork/turrets' --- diff --git a/scripts/turrets.shader b/scripts/turrets.shader new file mode 100644 index 000000000..c0d223c56 --- /dev/null +++ b/scripts/turrets.shader @@ -0,0 +1,57 @@ +models/turrets/tesla_chrome +{ + + qer_editorimage models/turrets/chrome.tga + + //dp_reflect 0 0.75 0.75 1 0.5 + { + map models/turrets/chrome.tga + rgbGen vertex + tcGen environment + tcMod scale 2 2 + + } +} + +models/turrets/phaser_beam +{ + surfaceparm trans + cull none + nopicmip + + qer_editorimage models/turrets/phaser_beam + { + map models/turrets/phaser_beam + blendFunc add + } + +} + +models/turrets/reactor_beams +{ + surfaceparm trans + cull none + + qer_editorimage models/turrets/reactor + { + map models/turrets/reactor + blendFunc add + } +} + +models/turrets/r_fx1 +{ + surfaceparm nomarks + surfaceparm trans + surfaceparm pointlight + 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 + } + +} + +