Debian Codegraph @

Effects/model-interior-display.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <PropertyList>
4 <name>Effects/model-interior-display</name>
5 <inherits-from>Effects/model-interior</inherits-from>
6
7 <parameters>
8 <texture n="5">
9 <type>2d</type>
10 <filter>linear-mipmap-linear</filter>
11 <wrap-s>clamp</wrap-s>
12 <wrap-t>clamp</wrap-t>
13 <internal-format>normalized</internal-format>
14 <image>Aircraft/Generic/Effects/dust-effect-overlay.png</image>
15 </texture>
16 <sample-res>0.0007</sample-res>
17 <dirt-factor>3.0</dirt-factor>
18 <contrast>1.0</contrast>
19 </parameters>
20
21
22
23 <technique n="2">
24 <predicate>
25 <and>
26 <property>/sim/rendering/shaders/skydome</property>
27 <less-equal>
28 <value type="float">2.0</value>
29 <float-property>/sim/rendering/shaders/model</float-property>
30 </less-equal>
31 <or>
32 <less-equal>
33 <value type="float">2.0</value>
34 <glversion/>
35 </less-equal>
36 <and>
37 <extension-supported>GL_ARB_shader_objects</extension-supported>
38 <extension-supported>GL_ARB_shading_language_100</extension-supported>
39 <extension-supported>GL_ARB_vertex_shader</extension-supported>
40 <extension-supported>GL_ARB_fragment_shader</extension-supported>
41 </and>
42 </or>
43 </and>
44 </predicate>
45 <pass>
46 <lighting>true</lighting>
47 <material>
48 <active><use>material/active</use></active>
49 <ambient><use>material/ambient</use></ambient>
50 <diffuse><use>material/diffuse</use></diffuse>
51 <specular><use>material/specular</use></specular>
52 <emissive><use>material/emissive</use></emissive>
53 <shininess><use>material/shininess</use></shininess>
54 <color-mode><use>material/color-mode</use></color-mode>
55 </material>
56 <blend>
57 <active><use>blend/active</use></active>
58 <source><use>blend/source</use></source>
59 <destination><use>blend/destination</use></destination>
60 </blend>
61 <shade-model><use>shade-model</use></shade-model>
62 <cull-face><use>cull-face</use></cull-face>
63 <rendering-hint><use>rendering-hint</use></rendering-hint>
64 <texture-unit>
65 <unit>0</unit>
66 <type><use>texture[0]/type</use></type>
67 <image><use>texture[0]/image</use></image>
68 <filter><use>texture[0]/filter</use></filter>
69 <wrap-s><use>texture[0]/wrap-s</use></wrap-s>
70 <wrap-t><use>texture[0]/wrap-t</use></wrap-t>
71 </texture-unit>
72 <texture-unit>
73 <unit>3</unit>
74 <type><use>texture[3]/type</use></type>
75 <image><use>texture[3]/image</use></image>
76 <filter><use>texture[3]/filter</use></filter>
77 <wrap-s><use>texture[3]/wrap-s</use></wrap-s>
78 <wrap-t><use>texture[3]/wrap-t</use></wrap-t>
79 </texture-unit>
80 <texture-unit>
81 <unit>4</unit>
82 <type><use>texture[4]/type</use></type>
83 <images><use>texture[4]/images</use></images>
84 </texture-unit>
85 <texture-unit>
86 <unit>5</unit>
87 <type><use>texture[5]/type</use></type>
88 <image><use>texture[5]/image</use></image>
89 <filter><use>texture[5]/filter</use></filter>
90 <wrap-s><use>texture[5]/wrap-s</use></wrap-s>
91 <wrap-t><use>texture[5]/wrap-t</use></wrap-t>
92 </texture-unit>
93 <texture-unit>
94 <unit>7</unit>
95 <type><use>texture[7]/type</use></type>
96 <image><use>texture[7]/image</use></image>
97 <filter><use>texture[7]/filter</use></filter>
98 <wrap-s><use>texture[7]/wrap-s</use></wrap-s>
99 <wrap-t><use>texture[7]/wrap-t</use></wrap-t>
100 </texture-unit>
101 <vertex-program-two-side>
102 <use>vertex-program-two-side</use>
103 </vertex-program-two-side>
104 <program>
105 <vertex-shader>Shaders/model-interior-ALS-detailed.vert</vertex-shader>
106 <vertex-shader>Shaders/shadows-include.vert</vertex-shader>
107 <fragment-shader>Shaders/model-interior-display-ALS.frag</fragment-shader>
108 <fragment-shader>Shaders/secondary_lights.frag</fragment-shader>
109 <fragment-shader>Shaders/noise.frag</fragment-shader>
110 <fragment-shader>Shaders/filters-ALS.frag</fragment-shader>
111 <fragment-shader>Shaders/shadows-include.frag</fragment-shader>
112 <fragment-shader>Shaders/clustered-include.frag</fragment-shader>
113 </program>
114 <uniform>
115 <name>visibility</name>
116 <type>float</type>
117 <value><use>visibility</use></value>
118 </uniform>
119 <uniform>
120 <name>avisibility</name>
121 <type>float</type>
122 <value><use>avisibility</use></value>
123 </uniform>
124 <uniform>
125 <name>hazeLayerAltitude</name>
126 <type>float</type>
127 <value><use>lthickness</use></value>
128 </uniform>
129 <uniform>
130 <name>scattering</name>
131 <type>float</type>
132 <value><use>scattering</use></value>
133 </uniform>
134 <uniform>
135 <name>terminator</name>
136 <type>float</type>
137 <value><use>terminator</use></value>
138 </uniform>
139 <uniform>
140 <name>ground_scattering</name>
141 <type>float</type>
142 <value><use>ground_scattering</use></value>
143 </uniform>
144 <uniform>
145 <name>terminator</name>
146 <type>float</type>
147 <value><use>terminator</use></value>
148 </uniform>
149 <uniform>
150 <name>terrain_alt</name>
151 <type>float</type>
152 <value><use>terrain_alt</use></value>
153 </uniform>
154 <uniform>
155 <name>overcast</name>
156 <type>float</type>
157 <value><use>overcast</use></value>
158 </uniform>
159 <uniform>
160 <name>eye_alt</name>
161 <type>float</type>
162 <value><use>eye_alt</use></value>
163 </uniform>
164 <uniform>
165 <name>cloud_self_shading</name>
166 <type>float</type>
167 <value><use>cloud_self_shading</use></value>
168 </uniform>
169 <uniform>
170 <name>moonlight</name>
171 <type>float</type>
172 <value><use>moonlight</use></value>
173 </uniform>
174 <uniform>
175 <name>offset_vec</name>
176 <type>float-vec3</type>
177 <value><use>opacity-cube-center</use></value>
178 </uniform>
179 <uniform>
180 <name>scale_vec</name>
181 <type>float-vec3</type>
182 <value><use>opacity-cube-scale</use></value>
183 </uniform>
184 <uniform>
185 <name>angle</name>
186 <type>float</type>
187 <value><use>opacity-cube-angle</use></value>
188 </uniform>
189 <uniform>
190 <name>tag_color</name>
191 <type>float-vec3</type>
192 <value><use>implicit-lightmap-tag-color</use></value>
193 </uniform>
194 <uniform>
195 <name>emit_color</name>
196 <type>float-vec3</type>
197 <value><use>implicit-lightmap-emit-color</use></value>
198 </uniform>
199 <uniform>
200 <name>light_filter_one</name>
201 <type>float-vec3</type>
202 <value><use>light-filter-one</use></value>
203 </uniform>
204 <uniform>
205 <name>light_filter_two</name>
206 <type>float-vec3</type>
207 <value><use>light-filter-two</use></value>
208 </uniform>
209 <uniform>
210 <name>light_radius</name>
211 <type>float</type>
212 <value><use>light-radius</use></value>
213 </uniform>
214 <uniform>
215 <name>threshold_low</name>
216 <type>float</type>
217 <value><use>implicit-lightmap-threshold-low</use></value>
218 </uniform>
219 <uniform>
220 <name>threshold_high</name>
221 <type>float</type>
222 <value><use>implicit-lightmap-threshold-high</use></value>
223 </uniform>
224 <uniform>
225 <name>emit_intensity</name>
226 <type>float</type>
227 <value><use>implicit-lightmap-intensity</use></value>
228 </uniform>
229 <uniform>
230 <name>view_pitch_offset</name>
231 <type>float</type>
232 <value><use>view_pitch_offset</use></value>
233 </uniform>
234 <uniform>
235 <name>view_heading_offset</name>
236 <type>float</type>
237 <value><use>view_heading_offset</use></value>
238 </uniform>
239 <uniform>
240 <name>field_of_view</name>
241 <type>float</type>
242 <value><use>view_fov</use></value>
243 </uniform>
244 <uniform>
245 <name>display_xsize</name>
246 <type>int</type>
247 <value><use>display_xsize</use></value>
248 </uniform>
249 <uniform>
250 <name>display_ysize</name>
251 <type>int</type>
252 <value><use>display_ysize</use></value>
253 </uniform>
254 <uniform>
255 <name>lightmap_r_factor</name>
256 <type>float</type>
257 <value><use>lightmap-factor[0]</use></value>
258 </uniform>
259 <uniform>
260 <name>lightmap_r_color</name>
261 <type>float-vec3</type>
262 <value><use>lightmap-color[0]</use></value>
263 </uniform>
264 <uniform>
265 <name>lightmap_g_factor</name>
266 <type>float</type>
267 <value><use>lightmap-factor[1]</use></value>
268 </uniform>
269 <uniform>
270 <name>lightmap_g_color</name>
271 <type>float-vec3</type>
272 <value><use>lightmap-color[1]</use></value>
273 </uniform>
274 <uniform>
275 <name>lightmap_b_factor</name>
276 <type>float</type>
277 <value><use>lightmap-factor[2]</use></value>
278 </uniform>
279 <uniform>
280 <name>lightmap_b_color</name>
281 <type>float-vec3</type>
282 <value><use>lightmap-color[2]</use></value>
283 </uniform>
284 <uniform>
285 <name>lightmap_a_factor</name>
286 <type>float</type>
287 <value><use>lightmap-factor[3]</use></value>
288 </uniform>
289 <uniform>
290 <name>lightmap_a_color</name>
291 <type>float-vec3</type>
292 <value><use>lightmap-color[3]</use></value>
293 </uniform>
294 <uniform>
295 <name>grain_magnification</name>
296 <type>float</type>
297 <value><use>grain-magnification</use></value>
298 </uniform>
299 <uniform>
300 <name>irradiance_map_strength</name>
301 <type>float</type>
302 <value><use>irradiance-map-strength</use></value>
303 </uniform>
304 <uniform>
305 <name>ra_irradiance_map_strength</name>
306 <type>float</type>
307 <value><use>ra-irradiance-map-strength</use></value>
308 </uniform>
309 <uniform>
310 <name>residual_ambience_r</name>
311 <type>float</type>
312 <value><use>residual-ambience-r</use></value>
313 </uniform>
314 <uniform>
315 <name>residual_ambience_g</name>
316 <type>float</type>
317 <value><use>residual-ambience-g</use></value>
318 </uniform>
319 <uniform>
320 <name>residual_ambience_b</name>
321 <type>float</type>
322 <value><use>residual-ambience-b</use></value>
323 </uniform>
324 <uniform>
325 <name>sample_res</name>
326 <type>float</type>
327 <value><use>sample-res</use></value>
328 </uniform>
329 <uniform>
330 <name>dirt_factor</name>
331 <type>float</type>
332 <value><use>dirt-factor</use></value>
333 </uniform>
334 <uniform>
335 <name>contrast</name>
336 <type>float</type>
337 <value><use>contrast</use></value>
338 </uniform>
339 <!-- filtering -->
340 <uniform>
341 <name>gamma</name>
342 <type>float</type>
343 <value><use>gamma</use></value>
344 </uniform>
345 <uniform>
346 <name>brightness</name>
347 <type>float</type>
348 <value><use>brightness</use></value>
349 </uniform>
350 <uniform>
351 <name>use_filtering</name>
352 <type>bool</type>
353 <value><use>use_filtering</use></value>
354 </uniform>
355 <uniform>
356 <name>use_night_vision</name>
357 <type>bool</type>
358 <value><use>use_night_vision</use></value>
359 </uniform>
360 <uniform>
361 <name>use_IR_vision</name>
362 <type>bool</type>
363 <value><use>use_IR_vision</use></value>
364 </uniform>
365 <uniform>
366 <name>delta_T</name>
367 <type>float</type>
368 <value><use>delta_T</use></value>
369 </uniform>
370 <uniform>
371 <name>texture</name>
372 <type>sampler-2d</type>
373 <value type="int">0</value>
374 </uniform>
375 <uniform>
376 <name>lightmap_texture</name>
377 <type>sampler-2d</type>
378 <value type="int">3</value>
379 </uniform>
380 <uniform>
381 <name>cube_texture</name>
382 <type>sampler-cube</type>
383 <value type="int">4</value>
384 </uniform>
385 <uniform>
386 <name>dust_texture</name>
387 <type>sampler-2d</type>
388 <value type="int">5</value>
389 </uniform>
390 <uniform>
391 <name>grain_texture</name>
392 <type>sampler-2d</type>
393 <value type="int">7</value>
394 </uniform>
395 <uniform>
396 <name>colorMode</name>
397 <type>int</type>
398 <value><use>material/color-mode-uniform</use></value>
399 </uniform>
400 <uniform>
401 <name>quality_level</name>
402 <type>int</type>
403 <value><use>quality_level</use></value>
404 </uniform>
405 <uniform>
406 <name>tquality_level</name>
407 <type>int</type>
408 <value><use>tquality_level</use></value>
409 </uniform>
410 <uniform>
411 <name>implicit_lightmap_enabled</name>
412 <type>int</type>
413 <value><use>implicit-lightmap-enabled</use></value>
414 </uniform>
415 <uniform>
416 <name>use_flashlight</name>
417 <type>int</type>
418 <value><use>use-flashlight</use></value>
419 </uniform>
420 <uniform>
421 <name>lightmap_enabled</name>
422 <type>int</type>
423 <value><use>lightmap-enabled</use></value>
424 </uniform>
425 <uniform>
426 <name>lightmap_multi</name>
427 <type>int</type>
428 <value><use>lightmap-multi</use></value>
429 </uniform>
430 <uniform>
431 <name>irradiance_map_type</name>
432 <type>int</type>
433 <value><use>irradiance-map-type</use></value>
434 </uniform>
435 <uniform>
436 <name>ra_irradiance_map_type</name>
437 <type>int</type>
438 <value><use>ra-irradiance-map-type</use></value>
439 </uniform>
440 <uniform>
441 <name>grain_texture_enabled</name>
442 <type>int</type>
443 <value><use>grain-texture-enabled</use></value>
444 </uniform>
445 <!-- BEGIN shadows include -->
446 <uniform>
447 <name>shadow_tex</name>
448 <type>sampler-2d</type>
449 <value type="int">10</value>
450 </uniform>
451 <uniform>
452 <name>shadows_enabled</name>
453 <type>bool</type>
454 <value>
455 <use>shadows_enabled</use>
456 </value>
457 </uniform>
458 <uniform>
459 <name>sun_atlas_size</name>
460 <type>int</type>
461 <value>
462 <use>sun_atlas_size</use>
463 </value>
464 </uniform>
465 <!-- END shadows include -->
466 <uniform>
467 <name>shadow_mapping_enabled</name>
468 <type>bool</type>
469 <value>
470 <use>shadow-mapping-enabled</use>
471 </value>
472 </uniform>
473 </pass>
474 </technique>
475 </PropertyList>