Debian Codegraph @

pak0/scripts/filth.shader

raw
1
2 textures/filth/trak_light
3 {
4 qer_editorimage textures/filth/trak_light.tga
5 q3map_surfacelight 8000
6 {
7 map $lightmap
8 rgbGen identity
9 }
10 {
11 map textures/filth/trak_light.tga
12 blendFunc GL_DST_COLOR GL_ZERO
13 //blendFunc blend
14 rgbGen identity
15 }
16 {
17 map textures/filth/trak_light.blend.tga
18 blendfunc GL_ONE GL_ONE
19 }
20 }
21
22
23 textures/filth/trak_light1
24 {
25 qer_editorimage textures/filth/trak_light1.tga
26 q3map_surfacelight 4000
27 {
28 map $lightmap
29 rgbGen identity
30 }
31 {
32 map textures/filth/trak_light1.tga
33 blendFunc GL_DST_COLOR GL_ZERO
34 //blendFunc blend
35 rgbGen identity
36 }
37 {
38 map textures/filth/trak_light1.blend.tga
39 blendfunc GL_ONE GL_ONE
40 }
41 }
42
43
44 textures/filth/trak_light2
45 {
46 qer_editorimage textures/filth/trak_light2.tga
47 q3map_surfacelight 8000
48 {
49 map $lightmap
50 rgbGen identity
51 }
52 {
53 map textures/filth/trak_light2.tga
54 blendFunc GL_DST_COLOR GL_ZERO
55 //blendFunc blend
56 rgbGen identity
57 }
58 {
59 map textures/filth/trak_light2.blend.tga
60 blendfunc GL_ONE GL_ONE
61 }
62 }
63
64 textures/filth/trak_light2a
65 {
66 qer_editorimage textures/filth/trak_light2a.tga
67 q3map_surfacelight 8000
68 {
69 map $lightmap
70 rgbGen identity
71 }
72 {
73 map textures/filth/trak_light2a.tga
74 blendFunc GL_DST_COLOR GL_ZERO
75 //blendFunc blend
76 rgbGen identity
77 }
78 {
79 map textures/filth/trak_light2.blend.tga
80 blendfunc GL_ONE GL_ONE
81 }
82 }
83
84 textures/filth/trak_light2b
85 {
86 qer_editorimage textures/filth/trak_light2b.tga
87 q3map_surfacelight 8000
88 {
89 map $lightmap
90 rgbGen identity
91 }
92 {
93 map textures/filth/trak_light2b.tga
94 blendFunc GL_DST_COLOR GL_ZERO
95 //blendFunc blend
96 rgbGen identity
97 }
98 {
99 map textures/filth/trak_light2.blend.tga
100 blendfunc GL_ONE GL_ONE
101 }
102 }
103
104 textures/filth/trak_light2c
105 {
106 qer_editorimage textures/filth/trak_light2c.tga
107 q3map_surfacelight 8000
108 {
109 map $lightmap
110 rgbGen identity
111 }
112 {
113 map textures/filth/trak_light2c.tga
114 blendFunc GL_DST_COLOR GL_ZERO
115 //blendFunc blend
116 rgbGen identity
117 }
118 {
119 map textures/filth/trak_light2.blend.tga
120 blendfunc GL_ONE GL_ONE
121 }
122 }
123
124 textures/filth/trak_light3_64
125 {
126 qer_editorimage textures/filth/trak_light3_64.tga
127 q3map_surfacelight 8000
128 {
129 map $lightmap
130 rgbGen identity
131 }
132 {
133 map textures/filth/trak_light3_64.tga
134 blendFunc GL_DST_COLOR GL_ZERO
135 //blendFunc blend
136 rgbGen identity
137 }
138 {
139 map textures/filth/trak_light3_64.blend.tga
140 blendfunc GL_ONE GL_ONE
141 }
142 }
143
144
145 textures/filth/trak_light3_128
146 {
147 qer_editorimage textures/filth/trak_light3_128.tga
148 q3map_surfacelight 4000
149 {
150 map $lightmap
151 rgbGen identity
152 }
153 {
154 map textures/filth/trak_light3_128.tga
155 blendFunc GL_DST_COLOR GL_ZERO
156 //blendFunc blend
157 rgbGen identity
158 }
159 {
160 map textures/filth/trak_light3_128.blend.tga
161 blendfunc GL_ONE GL_ONE
162 }
163 }
164
165 textures/filth/trak_trim_trans1
166 {
167 qer_editorimage textures/filth/trak_trim_trans1.tga
168 surfaceparm trans
169 surfaceparm nomarks
170 surfaceparm alphashadow
171 cull none
172
173 {
174 map textures/filth/trak_trim_trans1.tga
175 alphafunc GE128
176 depthwrite
177 }
178 {
179 map $lightmap
180 depthfunc equal
181 blendfunc filter
182 }
183 }
184
185 textures/filth/trak_trim_trans2
186 {
187 qer_editorimage textures/filth/trak_trim_trans2.tga
188 surfaceparm trans
189 surfaceparm nomarks
190 surfaceparm alphashadow
191 cull none
192
193 {
194 map textures/filth/trak_trim_trans2.tga
195 alphafunc GE128
196 depthwrite
197 }
198 {
199 map $lightmap
200 depthfunc equal
201 blendfunc filter
202 }
203 }
204
205
206 textures/filth/trak_rustdecal1
207 {
208 surfaceparm noimpact
209 surfaceparm nonsolid
210 surfaceparm trans
211 polygonoffset
212 {
213 map textures/filth/trak_rustdecal1.tga
214 blendfunc filter
215 }
216 }
217
218
219 textures/filth/trak_fx1
220 {
221 surfaceparm nolightmap
222 surfaceparm nonsolid
223 cull twosided
224 {
225 map textures/filth/trak_fx1.tga
226 tcGen environment
227 tcMod turb 0 0.25 0 0.5
228 tcmod scroll 1 1
229 blendfunc GL_ONE GL_ONE
230 }
231 }
232
233
234 textures/filth/fog
235 {
236 qer_editorimage textures/common/fog.tga
237 surfaceparm trans
238 surfaceparm nonsolid
239 surfaceparm fog
240 surfaceparm nolightmap
241
242 fogparms ( .929 .839 .518 ) 1000
243
244 }