From: cbrutail Date: Thu, 18 Nov 2010 11:20:21 +0000 (+0100) Subject: Added surfacelighted shaders for all colors. Less turbulent too. X-Git-Tag: xonotic-v0.1.0preview~26^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d2aeb911c997219f8a0003dfab34ad45d511500d;p=xonotic%2Fxonotic-maps.pk3dir.git Added surfacelighted shaders for all colors. Less turbulent too. --- diff --git a/scripts/effects_forcefield.shader b/scripts/effects_forcefield.shader index 890d25cb..7728ffc8 100644 --- a/scripts/effects_forcefield.shader +++ b/scripts/effects_forcefield.shader @@ -18,6 +18,30 @@ textures/effects_forcefield/forcefield1_a tcMod scroll -.5 -.3 } } + +//Forcefield1 red glowy, less turb +textures/effects_forcefield/forcefield1_a_surflight +{ + qer_editorimage textures/effects_forcefield/forcefield1_a.tga + nopicmip + surfaceparm nolightmap + surfaceparm trans + cull none + surfaceparm nomarks + q3map_surfacelight 250 + qer_trans 0.8 + + { + map textures/effects_forcefield/forcefield1_a.tga + tcGen environment + blendfunc GL_ONE GL_ONE + tcMod turb 0 0.25 0 0.25 + tcMod scroll -.5 -.3 + } +} + + + //Forcefield1 blue textures/effects_forcefield/forcefield1_b { @@ -37,6 +61,28 @@ textures/effects_forcefield/forcefield1_b tcMod scroll -.5 -.3 } } + +//Forcefield1 blue glowy, less turb +textures/effects_forcefield/forcefield1_b_surflight +{ + qer_editorimage textures/effects_forcefield/forcefield1_b.tga + nopicmip + surfaceparm nolightmap + surfaceparm trans + cull none + surfaceparm nomarks + q3map_surfacelight 250 + qer_trans 0.8 + + { + map textures/effects_forcefield/forcefield1_b.tga + tcGen environment + blendfunc GL_ONE GL_ONE + tcMod turb 0 0.25 0 0.25 + tcMod scroll -.5 -.3 + } +} + //Forcefield1 yellow textures/effects_forcefield/forcefield1_c { @@ -56,6 +102,29 @@ textures/effects_forcefield/forcefield1_c tcMod scroll -.5 -.3 } } + +//Forcefield1 yellow less turb, glowy +textures/effects_forcefield/forcefield1_c_surflight +{ + qer_editorimage textures/effects_forcefield/forcefield1_c.tga + nopicmip + surfaceparm nolightmap + surfaceparm trans + cull none + surfaceparm nomarks + q3map_surfacelight 250 + qer_trans 0.8 + + { + map textures/effects_forcefield/forcefield1_c.tga + tcGen environment + blendfunc GL_ONE GL_ONE + tcMod turb 0 0.25 0 0.25 + tcMod scroll -.5 -.3 + } +} + + //Forcefield1 green textures/effects_forcefield/forcefield1_d { @@ -75,3 +144,24 @@ textures/effects_forcefield/forcefield1_d tcMod scroll -.5 -.3 } } + +//Forcefield1 green glowy, less turb +textures/effects_forcefield/forcefield1_d_surflight +{ + qer_editorimage textures/effects_forcefield/forcefield1_d.tga + nopicmip + surfaceparm nolightmap + surfaceparm trans + cull none + surfaceparm nomarks + q3map_surfacelight 250 + qer_trans 0.8 + + { + map textures/effects_forcefield/forcefield1_d.tga + tcGen environment + blendfunc GL_ONE GL_ONE + tcMod turb 0 0.25 0 0.25 + tcMod scroll -.5 -.3 + } +} \ No newline at end of file