]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/effects_forcefield.shader
if -samplesize 4 won't work, try another way to waste cycles on -light
[xonotic/xonotic-maps.pk3dir.git] / scripts / effects_forcefield.shader
1 //Shader file for fx
2 //Forcefield1 red
3 textures/effects_forcefield/forcefield1_a
4 {
5         qer_editorimage textures/effects_forcefield/forcefield1_a.tga
6         nopicmip
7         surfaceparm nolightmap
8         surfaceparm trans
9         cull none
10         surfaceparm nomarks
11         qer_trans 0.8
12         
13         {
14                 map textures/effects_forcefield/forcefield1_a.tga
15                 tcGen environment
16                 blendfunc GL_ONE GL_ONE
17                 tcMod turb 0 0.25 0 0.5
18                 tcMod scroll -.5 -.3
19         }
20 }
21 //Forcefield1 blue
22 textures/effects_forcefield/forcefield1_b
23 {
24         qer_editorimage textures/effects_forcefield/forcefield1_b.tga
25         nopicmip
26         surfaceparm nolightmap
27         surfaceparm trans
28         cull none
29         surfaceparm nomarks
30         qer_trans 0.8
31         
32         {
33                 map textures/effects_forcefield/forcefield1_b.tga
34                 tcGen environment
35                 blendfunc GL_ONE GL_ONE
36                 tcMod turb 0 0.25 0 0.5
37                 tcMod scroll -.5 -.3
38         }
39 }
40 //Forcefield1 yellow
41 textures/effects_forcefield/forcefield1_c
42 {
43         qer_editorimage textures/effects_forcefield/forcefield1_c.tga
44         nopicmip
45         surfaceparm nolightmap
46         surfaceparm trans
47         cull none
48         surfaceparm nomarks
49         qer_trans 0.8
50         
51         {
52                 map textures/effects_forcefield/forcefield1_c.tga
53                 tcGen environment
54                 blendfunc GL_ONE GL_ONE
55                 tcMod turb 0 0.25 0 0.5
56                 tcMod scroll -.5 -.3
57         }
58 }
59 //Forcefield1 green
60 textures/effects_forcefield/forcefield1_d
61 {
62         qer_editorimage textures/effects_forcefield/forcefield1_d.tga
63         nopicmip
64         surfaceparm nolightmap
65         surfaceparm trans
66         cull none
67         surfaceparm nomarks
68         qer_trans 0.8
69         
70         {
71                 map textures/effects_forcefield/forcefield1_d.tga
72                 tcGen environment
73                 blendfunc GL_ONE GL_ONE
74                 tcMod turb 0 0.25 0 0.5
75                 tcMod scroll -.5 -.3
76         }
77 }