]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Added surfacelighted shaders for all colors. Less turbulent too.
authorcbrutail <ruszkai.akos@gmail.com>
Thu, 18 Nov 2010 11:20:21 +0000 (12:20 +0100)
committercbrutail <ruszkai.akos@gmail.com>
Thu, 18 Nov 2010 11:20:21 +0000 (12:20 +0100)
scripts/effects_forcefield.shader

index 890d25cb30ceeb75c555c14ce96158813c41e4bf..7728ffc87f626d96414bdc1052252e7c5c3abe41 100644 (file)
@@ -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