]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/common.shader
Merge remote-tracking branch 'origin/master' into matthiaskrgr/srgb
[xonotic/xonotic-maps.pk3dir.git] / scripts / common.shader
1 textures/common/antiportal
2 {
3         qer_trans 0.30
4         qer_nocarve
5         surfaceparm nodraw
6         surfaceparm nonsolid
7         surfaceparm structural
8         surfaceparm trans
9         surfaceparm antiportal
10 }
11
12 textures/common/botclip
13 {
14         qer_trans 0.40
15         surfaceparm nodraw
16         surfaceparm nolightmap
17         surfaceparm nonsolid
18         surfaceparm trans
19         surfaceparm nomarks
20         surfaceparm noimpact
21         surfaceparm botclip
22 }
23
24 textures/common/caulk
25 {
26         surfaceparm nodraw
27         surfaceparm nolightmap
28         surfaceparm nomarks
29 }
30
31 textures/common/forcecaulk
32 {
33         surfaceparm nodraw
34         surfaceparm nolightmap
35         surfaceparm nomarks
36         surfaceparm structural
37 }
38
39 textures/common/clip
40 {
41         qer_trans 0.40
42         surfaceparm nodraw
43         surfaceparm nolightmap
44         surfaceparm nonsolid
45         surfaceparm trans
46         surfaceparm nomarks
47         surfaceparm noimpact
48         surfaceparm playerclip
49 }
50
51 textures/common/donotenter
52 {
53         qer_trans 0.50
54         surfaceparm nodraw
55         surfaceparm nonsolid
56         surfaceparm trans
57         surfaceparm nomarks
58         surfaceparm donotenter
59 }
60
61 textures/common/full_clip // silly shader, use weapclip instead
62 {
63         qer_trans 0.40
64         surfaceparm nodraw
65         surfaceparm playerclip
66 }
67
68 textures/common/hint // should NOT use surfaceparm hint.. strange but true
69 {
70         qer_nocarve
71         qer_trans 0.30
72         surfaceparm nodraw
73         surfaceparm nonsolid
74         surfaceparm structural
75         surfaceparm trans
76         surfaceparm noimpact
77         surfaceparm hint        // ydnar: yes it should.
78 }
79
80 textures/common/hintskip
81 {
82         qer_nocarve
83         qer_trans 0.30
84         surfaceparm nodraw
85         surfaceparm nonsolid
86         surfaceparm skip
87         surfaceparm structural
88         surfaceparm trans
89 }
90
91 textures/common/invisible // solid, transparent polygons, casts shadows
92 {
93         qer_editorimage textures/common/invisible.tga
94         surfaceparm nolightmap
95         {
96                 map textures/common/invisible/invisible.tga
97                 alphaFunc GE128
98                 depthWrite
99                 rgbGen vertex
100         }       
101 }
102
103 textures/common/nodraw
104 {
105         surfaceparm nodraw
106         surfaceparm nolightmap
107         surfaceparm nonsolid
108         surfaceparm trans
109         surfaceparm nomarks
110 }
111
112 textures/common/nodrawnonsolid
113 {
114         surfaceparm nonsolid
115         surfaceparm nolightmap
116         surfaceparm nodraw
117 }
118
119 textures/common/nodrop
120 {
121         qer_nocarve
122         qer_trans 0.5
123         surfaceparm nodraw
124         surfaceparm nolightmap
125         surfaceparm nonsolid
126         surfaceparm trans
127         surfaceparm nomarks
128         surfaceparm nodrop
129 }
130
131
132 textures/common/noimpact
133 {
134         qer_nocarve
135         qer_trans 0.5
136         surfaceparm nodraw
137         surfaceparm nolightmap
138         surfaceparm trans
139         surfaceparm nomarks
140         surfaceparm noimpact
141 }
142
143 textures/common/nolightmap
144 {
145         surfaceparm nolightmap
146 }
147
148 textures/common/origin
149 {
150         qer_nocarve
151         surfaceparm nodraw
152         surfaceparm nolightmap
153         surfaceparm nonsolid
154         surfaceparm trans
155         surfaceparm origin
156 }
157
158 textures/common/skip
159 {
160         qer_nocarve
161         qer_trans 0.30
162         surfaceparm nodraw
163         surfaceparm nonsolid
164         surfaceparm skip
165         surfaceparm structural
166         surfaceparm trans
167 }
168
169 textures/common/terrain
170 {
171         q3map_terrain
172         surfaceparm nodraw
173         surfaceparm nolightmap
174         surfaceparm nomarks
175 }
176
177 textures/common/terrain2
178 {
179         q3map_terrain
180         surfaceparm dust
181         surfaceparm nodraw
182         surfaceparm nomarks
183         surfaceparm nolightmap
184 }
185
186 textures/common/trigger
187 {
188         qer_trans 0.50
189         qer_nocarve
190         surfaceparm nodraw
191 }
192
193 textures/common/weapclip
194 {
195         qer_trans 0.40
196         surfaceparm nodraw
197         surfaceparm nolightmap
198         surfaceparm trans
199         surfaceparm nomarks
200 }
201
202 //
203 // ydnar q3map lightgrid bounds
204 //
205 // the min/max bounds of brushes with this shader in a map
206 // will define the bounds of the map's lightgrid (model lighting)
207 // note: make it as small as possible around player space
208 // to minimize bsp size and compile time
209 //
210
211 textures/common/lightgrid
212 {
213         qer_trans 0.5
214         surfaceparm nodraw
215         surfaceparm nolightmap
216         surfaceparm nonsolid
217         surfaceparm detail
218         surfaceparm nomarks
219         surfaceparm trans
220         surfaceparm lightgrid
221 }
222
223 textures/common/warpzone
224 {
225         surfaceparm nolightmap
226         // surfaceparm nonsolid // no, it must be solid like trigger
227         surfaceparm trans
228         surfaceparm nomarks
229         {
230                 map textures/common/warpzone/trans.tga // fully transparent
231                 blendfunc blend
232         }
233         dp_camera
234         dp_refract 1 1 1 1 // makes the camera render like a refraction
235 }
236
237 textures/common/camera
238 {
239         surfaceparm nolightmap
240         surfaceparm trans
241         {
242                 map textures/common/warpzone/trans.tga // fully transparent
243                 blendfunc blend
244         }
245         dp_camera
246 }
247
248 textures/common/waternodraw
249 {
250         qer_trans 0.40
251         surfaceparm nodraw
252         surfaceparm nolightmap
253         surfaceparm water
254         surfaceparm trans
255         surfaceparm nomarks
256 }
257
258 textures/common/slimenodraw
259 {
260         qer_trans 0.40
261         surfaceparm nodraw
262         surfaceparm nolightmap
263         surfaceparm slime
264         surfaceparm trans
265         surfaceparm nomarks
266 }
267
268 textures/common/lavanodraw
269 {
270         qer_trans 0.40
271         surfaceparm nodraw
272         surfaceparm nolightmap
273         surfaceparm lava
274         surfaceparm trans
275         surfaceparm nomarks
276 }