* Removed non-existent zenex1 from shaderlist.txt
[divverent/nexuiz.git] / data / scripts / common.shader
1 textures/common/antiportal\r
2 {\r
3         qer_trans 0.30\r
4         qer_nocarve\r
5         surfaceparm nodraw\r
6         surfaceparm nonsolid\r
7         surfaceparm structural\r
8         surfaceparm trans\r
9         surfaceparm antiportal\r
10 }\r
11 \r
12 textures/common/areaportal\r
13 {\r
14         qer_trans 0.50\r
15         surfaceparm nodraw\r
16         surfaceparm nolightmap\r
17         surfaceparm nonsolid\r
18         surfaceparm structural\r
19         surfaceparm trans\r
20         surfaceparm nomarks\r
21         surfaceparm areaportal\r
22 }\r
23 \r
24 textures/common/caulk\r
25 {\r
26         surfaceparm nodraw\r
27         surfaceparm nolightmap\r
28         surfaceparm nomarks\r
29 }\r
30 \r
31 textures/common/clip\r
32 {\r
33         qer_trans 0.40\r
34         surfaceparm nodraw\r
35         surfaceparm nolightmap\r
36         surfaceparm nonsolid\r
37         surfaceparm trans\r
38         surfaceparm nomarks\r
39         surfaceparm noimpact\r
40         surfaceparm playerclip\r
41 }\r
42 \r
43 textures/common/clusterportal\r
44 {\r
45         qer_trans 0.50\r
46         surfaceparm nodraw\r
47         surfaceparm nolightmap\r
48         surfaceparm nonsolid\r
49         surfaceparm trans\r
50         surfaceparm nomarks\r
51         surfaceparm clusterportal\r
52 }\r
53 \r
54 textures/common/cushion\r
55 {\r
56         qer_nocarve\r
57         qer_trans 0.50\r
58         surfaceparm nodraw\r
59         surfaceparm nolightmap\r
60         surfaceparm trans\r
61         surfaceparm nomarks\r
62         surfaceparm nodamage\r
63 }\r
64 \r
65 textures/common/donotenter\r
66 {\r
67         qer_trans 0.50\r
68         surfaceparm nodraw\r
69         surfaceparm nonsolid\r
70         surfaceparm trans\r
71         surfaceparm nomarks\r
72         surfaceparm donotenter\r
73 }\r
74 \r
75 \r
76 // never used\r
77 //\r
78 //textures/common/energypad\r
79 //{\r
80 //      qer_editorimage textures/sfx/bluegoal.tga\r
81 //      surfaceparm nolightmap\r
82 //      cull twosided\r
83 //      {\r
84 //              map textures//bluegoal.tga\r
85 //              blendFunc GL_ONE GL_SRC_ALPHA\r
86 //              tcGen environment\r
87 //              tcMod turb 0 0.25 0 0.05\r
88 //      }\r
89 //}\r
90 \r
91 textures/common/full_clip // silly shader, use weapclip instead\r
92 {\r
93         qer_trans 0.40\r
94         surfaceparm nodraw\r
95         surfaceparm playerclip\r
96 }\r
97 \r
98 textures/common/hint // should NOT use surfaceparm hint.. strange but true\r
99 {\r
100         qer_nocarve\r
101         qer_trans 0.30\r
102         surfaceparm nodraw\r
103         surfaceparm nonsolid\r
104         surfaceparm structural\r
105         surfaceparm trans\r
106         surfaceparm noimpact\r
107         surfaceparm hint        // ydnar: yes it should.\r
108 }\r
109 \r
110 textures/common/invisible // solid, transparent polygons, casts shadows\r
111 {\r
112         surfaceparm nolightmap                  \r
113         {\r
114                 map textures/common/invisible.tga\r
115                 alphaFunc GE128\r
116                 depthWrite\r
117                 rgbGen vertex\r
118         }\r
119 }\r
120 \r
121 textures/common/mirror1\r
122 {\r
123         qer_editorimage textures/common/mirror1.tga\r
124         surfaceparm nolightmap\r
125         portal\r
126         {\r
127                 map textures/common/mirror1.tga\r
128                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA\r
129                 depthWrite\r
130         }\r
131 }\r
132 \r
133 textures/common/mirror2\r
134 {\r
135         qer_editorimage textures/common/qer_mirror.tga\r
136         surfaceparm nolightmap\r
137         portal\r
138         {\r
139                 map textures/common/mirror1.tga\r
140                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA\r
141                 depthWrite\r
142         }\r
143         {\r
144                 map textures/sfx/mirror.tga\r
145                 blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR\r
146         }\r
147 }\r
148 \r
149 textures/common/missileclip\r
150 {\r
151         qer_trans 0.40\r
152         surfaceparm nodamage\r
153         surfaceparm nomarks\r
154         surfaceparm nodraw\r
155         //surfaceparm nonsolid\r
156         surfaceparm playerclip\r
157         surfaceparm trans\r
158 }\r
159 \r
160 textures/common/nodraw\r
161 {\r
162         surfaceparm nodraw\r
163         surfaceparm nolightmap\r
164         surfaceparm nonsolid\r
165         surfaceparm trans\r
166         surfaceparm nomarks\r
167 }\r
168 \r
169 textures/common/nodrawnonsolid\r
170 {\r
171         surfaceparm nonsolid\r
172         surfaceparm nolightmap\r
173         surfaceparm nodraw\r
174 }\r
175 \r
176 textures/common/nodrop\r
177 {\r
178         qer_nocarve\r
179         qer_trans 0.5\r
180         surfaceparm nodraw\r
181         surfaceparm nolightmap\r
182         surfaceparm nonsolid\r
183         surfaceparm trans\r
184         surfaceparm nomarks\r
185         surfaceparm nodrop\r
186 }\r
187 \r
188 \r
189 textures/common/noimpact\r
190 {\r
191         qer_editorimage textures/common/nolightmap.tga\r
192         surfaceparm noimpact\r
193 }\r
194 \r
195 textures/common/nolightmap\r
196 {\r
197         surfaceparm nolightmap\r
198 }\r
199 \r
200 textures/common/origin\r
201 {\r
202         qer_nocarve\r
203         surfaceparm nodraw\r
204         surfaceparm nolightmap\r
205         surfaceparm nonsolid\r
206         surfaceparm trans\r
207         surfaceparm origin\r
208 }\r
209 \r
210 textures/common/portal\r
211 {\r
212         qer_editorimage textures/common/qer_portal.tga\r
213         surfaceparm nolightmap\r
214         portal\r
215         {\r
216                 map textures/common/mirror1.tga\r
217                 tcMod turb 0 0.25 0 0.05\r
218                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA\r
219                 depthWrite\r
220         }\r
221 }\r
222 \r
223 textures/common/slick\r
224 {\r
225         qer_trans 0.50\r
226         surfaceparm nodraw\r
227         surfaceparm nolightmap\r
228         surfaceparm nomarks\r
229         surfaceparm trans\r
230         surfaceparm slick\r
231 }\r
232 \r
233 textures/common/terrain\r
234 {\r
235         q3map_terrain\r
236         surfaceparm nodraw\r
237         surfaceparm nolightmap\r
238         surfaceparm nomarks\r
239 }\r
240 \r
241 textures/common/terrain2\r
242 {\r
243         q3map_terrain\r
244         qer_editorimage textures/common/terrain.tga\r
245         surfaceparm dust\r
246         surfaceparm nodraw\r
247         surfaceparm nomarks\r
248         surfaceparm nolightmap\r
249 }\r
250 \r
251 textures/common/timportal\r
252 {\r
253         qer_editorimage textures/common/qer_portal.tga\r
254         portal\r
255         surfaceparm nolightmap\r
256         {\r
257                 map textures/common/portal.tga\r
258                 tcMod turb 0 0.25 0 0.05\r
259                 blendFunc GL_ONE GL_SRC_ALPHA\r
260                 depthWrite\r
261         }\r
262 }\r
263 \r
264 textures/common/trigger\r
265 {\r
266         qer_trans 0.50\r
267         qer_nocarve\r
268         surfaceparm nodraw\r
269 }\r
270 \r
271 textures/common/weapclip\r
272 {\r
273         qer_trans 0.40\r
274         surfaceparm nodraw\r
275         surfaceparm nolightmap\r
276         surfaceparm trans\r
277         surfaceparm nomarks\r
278 }\r
279 \r
280 textures/common/metalclip\r
281 {\r
282         qer_trans 0.40\r
283         surfaceparm nodraw\r
284         surfaceparm nolightmap\r
285         surfaceparm nonsolid\r
286         surfaceparm trans\r
287         surfaceparm nomarks\r
288         surfaceparm noimpact\r
289         surfaceparm playerclip\r
290         surfaceparm metalsteps\r
291 }\r
292 \r
293 textures/common/botclip\r
294 {\r
295         qer_trans 0.40\r
296         surfaceparm nodraw\r
297         surfaceparm nolightmap\r
298         surfaceparm nonsolid\r
299         surfaceparm trans\r
300         surfaceparm nomarks\r
301         surfaceparm noimpact\r
302         surfaceparm botclip\r
303 }\r
304 \r
305 //\r
306 // ydnar q3map lightgrid bounds\r
307 //\r
308 // the min/max bounds of brushes with this shader in a map\r
309 // will define the bounds of the map's lightgrid (model lighting)\r
310 // note: make it as small as possible around player space\r
311 // to minimize bsp size and compile time\r
312 //\r
313 \r
314 textures/common/lightgrid\r
315 {\r
316         qer_trans 0.5\r
317         surfaceparm nodraw\r
318         surfaceparm nolightmap\r
319         surfaceparm nonsolid\r
320         surfaceparm detail\r
321         surfaceparm nomarks\r
322         surfaceparm trans\r
323         surfaceparm lightgrid\r
324 }\r
325 \r