]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/xonotic-fx.shader
Merge branch 'master' into cbrutail/shaders_fx_xonotic2
[xonotic/xonotic-maps.pk3dir.git] / scripts / xonotic-fx.shader
1 //Shader file for fx
2 //Forcefield1 red
3 textures/fx/forcefield1-a
4 {
5         qer_editorimage textures/fx/forcefields/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/fx/forcefields/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/fx/forcefield1-b
23 {
24         qer_editorimage textures/fx/forcefields/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/fx/forcefields/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/fx/forcefield2-c
42 {
43         qer_editorimage textures/fx/forcefields/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/fx/forcefields/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/fx/forcefield1-d
61 {
62         qer_editorimage textures/fx/forcefields/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/fx/forcefields/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 }
78 //Healpod1 green
79 //For best effect apply to a rotating cylinder
80 textures/fx/healpod1-d
81 {
82         qer_editorimage textures/fx/forcefields/healpod1_d.tga
83         surfaceparm nolightmap
84         surfaceparm nomarks
85         surfaceparm nonsolid
86         surfaceparm trans
87         cull none
88         qer_trans 0.6
89         {
90                 map textures/fx/forcefields/healpod1_d.tga
91                 blendfunc add
92                 tcMod scroll 0 2
93         }
94 }
95 //Jumppad1 blue
96 textures/fx/jumppadfx1-a
97 {
98         qer_editorimage textures/fx/jumppad/jumppadfx1_a.tga
99         surfaceparm nolightmap
100         surfaceparm nomarks
101         surfaceparm nonsolid
102         surfaceparm trans
103         cull none
104         qer_trans 0.6
105         {
106                 map textures/fx/jumppad/jumppadfx1_a.tga
107                 blendfunc add
108                 tcMod scroll 0 2
109         }
110 }
111 //Jumppad1 red
112 textures/fx/jumppadfx1-b
113 {
114         qer_editorimage textures/fx/jumppad/jumppadfx1_b.tga
115         surfaceparm nolightmap
116         surfaceparm nomarks
117         surfaceparm nonsolid
118         surfaceparm trans
119         cull none
120         qer_trans 0.6
121         {
122                 map textures/fx/jumppad/jumppadfx1_b.tga
123                 blendfunc add
124                 tcMod scroll 0 2
125         }
126 }
127 //Jumppad1 yellow
128 textures/fx/jumppadfx1-c
129 {
130         qer_editorimage textures/fx/jumppad/jumppadfx1_c.tga
131         surfaceparm nolightmap
132         surfaceparm nomarks
133         surfaceparm nonsolid
134         surfaceparm trans
135         cull none
136         qer_trans 0.6
137         {
138                 map textures/fx/jumppad/jumppadfx1_c.tga
139                 blendfunc add
140                 tcMod scroll 0 2
141         }
142 }
143 //Jumppad1 green
144 textures/fx/jumppadfx1-d
145 {
146         qer_editorimage textures/fx/jumppad/jumppadfx1_d.tga
147         surfaceparm nolightmap
148         surfaceparm nomarks
149         surfaceparm nonsolid
150         surfaceparm trans
151         cull none
152         qer_trans 0.6
153         {
154                 map textures/fx/jumppad/jumppadfx1_d.tga
155                 blendfunc add
156                 tcMod scroll 0 2
157         }
158 }
159 //Lightning1-a
160 textures/fx/lightning1-a
161 {
162         qer_editorimage textures/fx/lightnings/lightning1_1.tga
163         surfaceparm nolightmap
164         surfaceparm nodlight
165         surfaceparm trans
166         surfaceparm nomarks
167         surfaceparm noimpact
168         cull none
169         deformVertexes autosprite2
170         {
171                 animMap 15 textures/fx/lightnings/lightning1_1.tga textures/fx/lightnings/lightning1_2.tga textures/fx/lightnings/lightning1_3.tga textures/fx/lightnings/lightning1_4.tga textures/fx/lightnings/lightning1_5.tga textures/fx/lightnings/lightning1_6.tga textures/fx/lightnings/lightning1_7.tga textures/fx/lightnings/lightning1_8.tga textures/fx/lightnings/lightning1_9.tga textures/fx/lightnings/lightning1_10.tga textures/fx/lightnings/lightning1_11.tga
172                 blendfunc add
173         }
174 }
175 //Lightning1-b
176 textures/fx/lightning1-b
177 {
178         qer_editorimage textures/fx/lightnings/lightning1_4.tga
179         surfaceparm nolightmap
180         surfaceparm nodlight
181         surfaceparm trans
182         surfaceparm nomarks
183         surfaceparm noimpact
184         cull none
185         deformVertexes autosprite2
186         {
187                 animMap 15 textures/fx/lightnings/lightning1_4.tga textures/fx/lightnings/lightning1_5.tga textures/fx/lightnings/lightning1_6.tga textures/fx/lightnings/lightning1_7.tga textures/fx/lightnings/lightning1_8.tga textures/fx/lightnings/lightning1_9.tga textures/fx/lightnings/lightning1_10.tga textures/fx/lightnings/lightning1_11.tga textures/fx/lightnings/lightning1_1.tga textures/fx/lightnings/lightning1_2.tga textures/fx/lightnings/lightning1_3.tga
188                 blendfunc add
189         }
190 }
191 //Lightning1-c
192 textures/fx/lightning1-c
193 {
194         qer_editorimage textures/fx/lightnings/lightning1_6.tga
195         surfaceparm nolightmap
196         surfaceparm nodlight
197         surfaceparm trans
198         surfaceparm nomarks
199         surfaceparm noimpact
200         cull none
201         deformVertexes autosprite2
202         {
203                 animMap 15 textures/fx/lightnings/lightning1_6.tga textures/fx/lightnings/lightning1_7.tga textures/fx/lightnings/lightning1_8.tga textures/fx/lightnings/lightning1_9.tga textures/fx/lightnings/lightning1_10.tga textures/fx/lightnings/lightning1_11.tga textures/fx/lightnings/lightning1_1.tga textures/fx/lightnings/lightning1_2.tga textures/fx/lightnings/lightning1_3.tga textures/fx/lightnings/lightning1_4.tga textures/fx/lightnings/lightning1_5.tga
204                 blendfunc add
205         }
206 }
207 //Lightning1-d
208 textures/fx/lightning1-d
209 {
210         qer_editorimage textures/fx/lightnings/lightning1_8.tga
211         surfaceparm nolightmap
212         surfaceparm nodlight
213         surfaceparm trans
214         surfaceparm nomarks
215         surfaceparm noimpact
216         cull none
217         deformVertexes autosprite2
218         {
219                 animMap 15 textures/fx/lightnings/lightning1_8.tga textures/fx/lightnings/lightning1_9.tga textures/fx/lightnings/lightning1_10.tga textures/fx/lightnings/lightning1_11.tga textures/fx/lightnings/lightning1_1.tga textures/fx/lightnings/lightning1_2.tga textures/fx/lightnings/lightning1_3.tga textures/fx/lightnings/lightning1_4.tga textures/fx/lightnings/lightning1_5.tga textures/fx/lightnings/lightning1_6.tga textures/fx/lightnings/lightning1_7.tga
220                 blendfunc add
221         }
222 }