From d2aeb911c997219f8a0003dfab34ad45d511500d Mon Sep 17 00:00:00 2001 From: cbrutail Date: Thu, 18 Nov 2010 12:20:21 +0100 Subject: [PATCH] Added surfacelighted shaders for all colors. Less turbulent too. --- scripts/effects_forcefield.shader | 90 +++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) 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 -- 2.39.2