]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/effects_forcefield.shader
Merge branch 'cbrutail/darkzone' of git://de.git.xonotic.org/xonotic/xonotic-maps...
[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
22 //Forcefield1 red glowy, less turb
23 textures/effects_forcefield/forcefield1_a_surflight
24 {
25         qer_editorimage textures/effects_forcefield/forcefield1_a.tga
26         nopicmip
27         surfaceparm nolightmap
28         surfaceparm trans
29         cull none
30         surfaceparm nomarks
31         q3map_surfacelight 250
32         qer_trans 0.8
33         
34         {
35                 map textures/effects_forcefield/forcefield1_a.tga
36                 tcGen environment
37                 blendfunc GL_ONE GL_ONE
38                 tcMod turb 0 0.25 0 0.25
39                 tcMod scroll -.5 -.3
40         }
41 }
42
43
44
45 //Forcefield1 blue
46 textures/effects_forcefield/forcefield1_b
47 {
48         qer_editorimage textures/effects_forcefield/forcefield1_b.tga
49         nopicmip
50         surfaceparm nolightmap
51         surfaceparm trans
52         cull none
53         surfaceparm nomarks
54         qer_trans 0.8
55         
56         {
57                 map textures/effects_forcefield/forcefield1_b.tga
58                 tcGen environment
59                 blendfunc GL_ONE GL_ONE
60                 tcMod turb 0 0.25 0 0.5
61                 tcMod scroll -.5 -.3
62         }
63 }
64
65 //Forcefield1 blue glowy, less turb
66 textures/effects_forcefield/forcefield1_b_surflight
67 {
68         qer_editorimage textures/effects_forcefield/forcefield1_b.tga
69         nopicmip
70         surfaceparm nolightmap
71         surfaceparm trans
72         cull none
73         surfaceparm nomarks
74         q3map_surfacelight 250
75         qer_trans 0.8
76         
77         {
78                 map textures/effects_forcefield/forcefield1_b.tga
79                 tcGen environment
80                 blendfunc GL_ONE GL_ONE
81                 tcMod turb 0 0.25 0 0.25
82                 tcMod scroll -.5 -.3
83         }
84 }
85
86 //Forcefield1 yellow
87 textures/effects_forcefield/forcefield1_c
88 {
89         qer_editorimage textures/effects_forcefield/forcefield1_c.tga
90         nopicmip
91         surfaceparm nolightmap
92         surfaceparm trans
93         cull none
94         surfaceparm nomarks
95         qer_trans 0.8
96         
97         {
98                 map textures/effects_forcefield/forcefield1_c.tga
99                 tcGen environment
100                 blendfunc GL_ONE GL_ONE
101                 tcMod turb 0 0.25 0 0.5
102                 tcMod scroll -.5 -.3
103         }
104 }
105
106 //Forcefield1 yellow less turb, glowy
107 textures/effects_forcefield/forcefield1_c_surflight
108 {
109         qer_editorimage textures/effects_forcefield/forcefield1_c.tga
110         nopicmip
111         surfaceparm nolightmap
112         surfaceparm trans
113         cull none
114         surfaceparm nomarks
115         q3map_surfacelight 250
116         qer_trans 0.8
117         
118         {
119                 map textures/effects_forcefield/forcefield1_c.tga
120                 tcGen environment
121                 blendfunc GL_ONE GL_ONE
122                 tcMod turb 0 0.25 0 0.25
123                 tcMod scroll -.5 -.3
124         }
125 }
126
127
128 //Forcefield1 green
129 textures/effects_forcefield/forcefield1_d
130 {
131         qer_editorimage textures/effects_forcefield/forcefield1_d.tga
132         nopicmip
133         surfaceparm nolightmap
134         surfaceparm trans
135         cull none
136         surfaceparm nomarks
137         qer_trans 0.8
138         
139         {
140                 map textures/effects_forcefield/forcefield1_d.tga
141                 tcGen environment
142                 blendfunc GL_ONE GL_ONE
143                 tcMod turb 0 0.25 0 0.5
144                 tcMod scroll -.5 -.3
145         }
146 }
147
148 //Forcefield1 green glowy, less turb
149 textures/effects_forcefield/forcefield1_d_surflight
150 {
151         qer_editorimage textures/effects_forcefield/forcefield1_d.tga
152         nopicmip
153         surfaceparm nolightmap
154         surfaceparm trans
155         cull none
156         surfaceparm nomarks
157         q3map_surfacelight 250
158         qer_trans 0.8
159         
160         {
161                 map textures/effects_forcefield/forcefield1_d.tga
162                 tcGen environment
163                 blendfunc GL_ONE GL_ONE
164                 tcMod turb 0 0.25 0 0.25
165                 tcMod scroll -.5 -.3
166         }
167 }