Debian Codegraph @

Effects/airfield.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <PropertyList>
3 <name>Effects/airfield</name>
4 <inherits-from>Effects/terrain-default</inherits-from>
5 <parameters>
6 <texture n="13">
7 <image>Textures/Terrain/airport_grass2.png</image>
8 <type>2d</type>
9 <filter>linear-mipmap-linear</filter>
10 <wrap-s>repeat</wrap-s>
11 <wrap-t>repeat</wrap-t>
12 <internal-format>normalized</internal-format>
13 </texture>
14 <texture n="14">
15 <image>Textures/Terrain/void.png</image>
16 <type>2d</type>
17 <filter>linear-mipmap-linear</filter>
18 <wrap-s>repeat</wrap-s>
19 <wrap-t>repeat</wrap-t>
20 <internal-format>normalized</internal-format>
21 </texture>
22 <texture n="15">
23 <image>Textures/Terrain/void.png</image>
24 <type>2d</type>
25 <filter>linear-mipmap-linear</filter>
26 <wrap-s>repeat</wrap-s>
27 <wrap-t>repeat</wrap-t>
28 <internal-format>normalized</internal-format>
29 </texture>
30 <base_layer_magnification>5.0</base_layer_magnification>
31 <overlay_layer_magnification>4.0</overlay_layer_magnification>
32 <grain_layer_magnification>4.0</grain_layer_magnification>
33 <use_overlay>0</use_overlay>
34 <use_grain>0</use_grain>
35 <use_color_overlay>1</use_color_overlay>
36 <grit_alpha>1.0</grit_alpha>
37 <overlay_bias>0.0</overlay_bias>
38 <overlay_alpha>1.0</overlay_alpha>
39 </parameters>
40
41 <technique n="2">
42 <predicate>
43 <and>
44 <property>/sim/rendering/shaders/skydome</property>
45 <or>
46 <less-equal>
47 <value type="float">2.0</value>
48 <float-property>/sim/rendering/shaders/transition</float-property>
49 </less-equal>
50 </or>
51 <or>
52 <less-equal>
53 <value type="float">2.0</value>
54 <glversion/>
55 </less-equal>
56 <and>
57 <extension-supported>GL_ARB_shader_objects</extension-supported>
58 <extension-supported>GL_ARB_shading_language_100</extension-supported>
59 <extension-supported>GL_ARB_vertex_shader</extension-supported>
60 <extension-supported>GL_ARB_fragment_shader</extension-supported>
61 </and>
62 </or>
63 </and>
64 </predicate>
65 <pass>
66 <lighting>true</lighting>
67 <material>
68 <ambient><use>material/ambient</use></ambient>
69 <diffuse><use>material/diffuse</use></diffuse>
70 <specular><use>material/specular</use></specular>
71 <emissive><use>material/emissive</use></emissive>
72 <shininess><use>material/shininess</use></shininess>
73 <color-mode>ambient-and-diffuse</color-mode>
74 </material>
75 <alpha-test><use>transparent</use></alpha-test>
76 <shade-model>smooth</shade-model>
77 <cull-face>back</cull-face>
78 <render-bin>
79 <bin-number>-1</bin-number>
80 <bin-name>RenderBin</bin-name>
81 </render-bin>
82 <program>
83 <vertex-shader>Shaders/trivial.vert</vertex-shader>
84 <fragment-shader>Shaders/trivial.frag</fragment-shader>
85 </program>
86 <color-mask type="vec4d">0 0 0 0</color-mask>
87 </pass>
88 <pass>
89 <lighting>true</lighting>
90 <material>
91 <ambient><use>material/ambient</use></ambient>
92 <diffuse><use>material/diffuse</use></diffuse>
93 <specular><use>material/specular</use></specular>
94 <emissive><use>material/emissive</use></emissive>
95 <shininess><use>material/shininess</use></shininess>
96 <color-mode>ambient-and-diffuse</color-mode>
97 </material>
98 <blend><use>transparent</use></blend>
99 <alpha-test><use>transparent</use></alpha-test>
100 <shade-model>smooth</shade-model>
101 <cull-face>back</cull-face>
102 <render-bin>
103 <bin-number><use>render-bin/bin-number</use></bin-number>
104 <bin-name><use>render-bin/bin-name</use></bin-name>
105 </render-bin>
106 <texture-unit>
107 <unit>0</unit>
108 <image><use>texture[13]/image</use></image>
109 <type><use>texture[13]/type</use></type>
110 <filter><use>texture[13]/filter</use></filter>
111 <wrap-s><use>texture[13]/wrap-s</use></wrap-s>
112 <wrap-t><use>texture[13]/wrap-t</use></wrap-t>
113 <internal-format>
114 <use>texture[13]/internal-format</use>
115 </internal-format>
116 </texture-unit>
117 <texture-unit>
118 <unit>1</unit>
119 <image><use>texture[14]/image</use></image>
120 <type><use>texture[14]/type</use></type>
121 <filter><use>texture[14]/filter</use></filter>
122 <wrap-s><use>texture[14]/wrap-s</use></wrap-s>
123 <wrap-t><use>texture[14]/wrap-t</use></wrap-t>
124 <internal-format>
125 <use>texture[14]/internal-format</use>
126 </internal-format>
127 </texture-unit>
128 <texture-unit>
129 <unit>2</unit>
130 <image><use>texture[15]/image</use></image>
131 <type><use>texture[15]/type</use></type>
132 <filter><use>texture[15]/filter</use></filter>
133 <wrap-s><use>texture[15]/wrap-s</use></wrap-s>
134 <wrap-t><use>texture[15]/wrap-t</use></wrap-t>
135 <internal-format>
136 <use>texture[15]/internal-format</use>
137 </internal-format>
138 </texture-unit>
139 <program>
140 <vertex-shader>Shaders/terrain-ALS-ultra.vert</vertex-shader>
141 <vertex-shader>Shaders/filters-ALS.vert</vertex-shader>
142 <vertex-shader>Shaders/shadows-include.vert</vertex-shader>
143 <fragment-shader>Shaders/airfield-ALS.frag</fragment-shader>
144 <fragment-shader>Shaders/cloud-shadowfunc.frag</fragment-shader>
145 <fragment-shader>Shaders/noise.frag</fragment-shader>
146 <fragment-shader>Shaders/hazes.frag</fragment-shader>
147 <fragment-shader>Shaders/secondary_lights.frag</fragment-shader>
148 <fragment-shader>Shaders/filters-ALS.frag</fragment-shader>
149 <fragment-shader>Shaders/shadows-include.frag</fragment-shader>
150 <fragment-shader>Shaders/clustered-include.frag</fragment-shader>
151 </program>
152 <uniform>
153 <name>visibility</name>
154 <type>float</type>
155 <value><use>visibility</use></value>
156 </uniform>
157 <uniform>
158 <name>avisibility</name>
159 <type>float</type>
160 <value><use>avisibility</use></value>
161 </uniform>
162 <uniform>
163 <name>hazeLayerAltitude</name>
164 <type>float</type>
165 <value><use>lthickness</use></value>
166 </uniform>
167 <uniform>
168 <name>scattering</name>
169 <type>float</type>
170 <value><use>scattering</use></value>
171 </uniform>
172 <uniform>
173 <name>ground_scattering</name>
174 <type>float</type>
175 <value><use>ground_scattering</use></value>
176 </uniform>
177 <uniform>
178 <name>terminator</name>
179 <type>float</type>
180 <value><use>terminator</use></value>
181 </uniform>
182 <uniform>
183 <name>terrain_alt</name>
184 <type>float</type>
185 <value><use>terrain_alt</use></value>
186 </uniform>
187 <uniform>
188 <name>overcast</name>
189 <type>float</type>
190 <value><use>overcast</use></value>
191 </uniform>
192 <uniform>
193 <name>eye_alt</name>
194 <type>float</type>
195 <value><use>eye_alt</use></value>
196 </uniform>
197 <uniform>
198 <name>snowlevel</name>
199 <type>float</type>
200 <value><use>snow_level</use></value>
201 </uniform>
202 <uniform>
203 <name>snow_thickness_factor</name>
204 <type>float</type>
205 <value><use>snow_thickness_factor</use></value>
206 </uniform>
207 <uniform>
208 <name>dust_cover_factor</name>
209 <type>float</type>
210 <value> <use>dust_cover_factor</use></value>
211 </uniform>
212 <uniform>
213 <name>wetness</name>
214 <type>float</type>
215 <value> <use>wetness</use></value>
216 </uniform>
217 <uniform>
218 <name>fogstructure</name>
219 <type>float</type>
220 <value> <use>fogstructure</use></value>
221 </uniform>
222 <uniform>
223 <name>grit_alpha</name>
224 <type>float</type>
225 <value><use>grit_alpha</use></value>
226 </uniform>
227 <uniform>
228 <name>overlay_bias</name>
229 <type>float</type>
230 <value><use>overlay_bias</use></value>
231 </uniform>
232 <uniform>
233 <name>overlay_alpha</name>
234 <type>float</type>
235 <value><use>overlay_alpha</use></value>
236 </uniform>
237 <uniform>
238 <name>base_layer_magnification</name>
239 <type>float</type>
240 <value><use>base_layer_magnification</use></value>
241 </uniform>
242 <uniform>
243 <name>overlay_layer_magnification</name>
244 <type>float</type>
245 <value><use>overlay_layer_magnification</use></value>
246 </uniform>
247 <uniform>
248 <name>grain_layer_magnification</name>
249 <type>float</type>
250 <value><use>grain_layer_magnification</use></value>
251 </uniform>
252 <uniform>
253 <name>cloud_self_shading</name>
254 <type>float</type>
255 <value><use>cloud_self_shading</use></value>
256 </uniform>
257 <uniform>
258 <name>moonlight</name>
259 <type>float</type>
260 <value><use>moonlight</use></value>
261 </uniform>
262 <uniform>
263 <name>air_pollution</name>
264 <type>float</type>
265 <value><use>air_pollution</use></value>
266 </uniform>
267 <uniform>
268 <name>season</name>
269 <type>float</type>
270 <value><use>season</use></value>
271 </uniform>
272 <!-- secondary lights -->
273 <uniform>
274 <name>view_pitch_offset</name>
275 <type>float</type>
276 <value><use>view_pitch_offset</use></value>
277 </uniform>
278 <uniform>
279 <name>view_heading_offset</name>
280 <type>float</type>
281 <value><use>view_heading_offset</use></value>
282 </uniform>
283 <uniform>
284 <name>field_of_view</name>
285 <type>float</type>
286 <value><use>view_fov</use></value>
287 </uniform>
288 <uniform>
289 <name>landing_light1_offset</name>
290 <type>float</type>
291 <value><use>landing_light1_offset</use></value>
292 </uniform>
293 <uniform>
294 <name>landing_light2_offset</name>
295 <type>float</type>
296 <value><use>landing_light2_offset</use></value>
297 </uniform>
298 <uniform>
299 <name>landing_light3_offset</name>
300 <type>float</type>
301 <value><use>landing_light3_offset</use></value>
302 </uniform>
303 <!-- filtering -->
304 <uniform>
305 <name>gamma</name>
306 <type>float</type>
307 <value><use>gamma</use></value>
308 </uniform>
309 <uniform>
310 <name>brightness</name>
311 <type>float</type>
312 <value><use>brightness</use></value>
313 </uniform>
314 <uniform>
315 <name>use_night_vision</name>
316 <type>bool</type>
317 <value><use>use_night_vision</use></value>
318 </uniform>
319 <uniform>
320 <name>use_IR_vision</name>
321 <type>bool</type>
322 <value><use>use_IR_vision</use></value>
323 </uniform>
324 <uniform>
325 <name>use_filtering</name>
326 <type>bool</type>
327 <value><use>use_filtering</use></value>
328 </uniform>
329 <uniform>
330 <name>delta_T</name>
331 <type>float</type>
332 <value><use>delta_T</use></value>
333 </uniform>
334 <uniform>
335 <name>fact_grey</name>
336 <type>float</type>
337 <value><use>fact_grey</use></value>
338 </uniform>
339 <uniform>
340 <name>fact_black</name>
341 <type>float</type>
342 <value><use>fact_black</use></value>
343 </uniform>
344 <!-- cloud shadows -->
345 <uniform>
346 <name>cloudpos1_x</name>
347 <type>float</type>
348 <value><use>cloudpos1_x</use></value>
349 </uniform>
350 <uniform>
351 <name>cloudpos1_y</name>
352 <type>float</type>
353 <value><use>cloudpos1_y</use></value>
354 </uniform>
355 <uniform>
356 <name>cloudpos2_x</name>
357 <type>float</type>
358 <value><use>cloudpos2_x</use></value>
359 </uniform>
360 <uniform>
361 <name>cloudpos2_y</name>
362 <type>float</type>
363 <value><use>cloudpos2_y</use></value>
364 </uniform>
365 <uniform>
366 <name>cloudpos3_x</name>
367 <type>float</type>
368 <value><use>cloudpos3_x</use></value>
369 </uniform>
370 <uniform>
371 <name>cloudpos3_y</name>
372 <type>float</type>
373 <value><use>cloudpos3_y</use></value>
374 </uniform>
375 <uniform>
376 <name>cloudpos4_x</name>
377 <type>float</type>
378 <value><use>cloudpos4_x</use></value>
379 </uniform>
380 <uniform>
381 <name>cloudpos4_y</name>
382 <type>float</type>
383 <value><use>cloudpos4_y</use></value>
384 </uniform>
385 <uniform>
386 <name>cloudpos5_x</name>
387 <type>float</type>
388 <value><use>cloudpos5_x</use></value>
389 </uniform>
390 <uniform>
391 <name>cloudpos5_y</name>
392 <type>float</type>
393 <value><use>cloudpos5_y</use></value>
394 </uniform>
395 <uniform>
396 <name>cloudpos6_x</name>
397 <type>float</type>
398 <value><use>cloudpos6_x</use></value>
399 </uniform>
400 <uniform>
401 <name>cloudpos6_y</name>
402 <type>float</type>
403 <value><use>cloudpos6_y</use></value>
404 </uniform>
405 <uniform>
406 <name>cloudpos7_x</name>
407 <type>float</type>
408 <value><use>cloudpos7_x</use></value>
409 </uniform>
410 <uniform>
411 <name>cloudpos7_y</name>
412 <type>float</type>
413 <value><use>cloudpos7_y</use></value>
414 </uniform>
415 <uniform>
416 <name>cloudpos8_x</name>
417 <type>float</type>
418 <value><use>cloudpos8_x</use></value>
419 </uniform>
420 <uniform>
421 <name>cloudpos8_y</name>
422 <type>float</type>
423 <value><use>cloudpos8_y</use></value>
424 </uniform>
425 <uniform>
426 <name>cloudpos9_x</name>
427 <type>float</type>
428 <value><use>cloudpos9_x</use></value>
429 </uniform>
430 <uniform>
431 <name>cloudpos9_y</name>
432 <type>float</type>
433 <value><use>cloudpos9_y</use></value>
434 </uniform>
435 <uniform>
436 <name>cloudpos10_x</name>
437 <type>float</type>
438 <value><use>cloudpos10_x</use></value>
439 </uniform>
440 <uniform>
441 <name>cloudpos10_y</name>
442 <type>float</type>
443 <value><use>cloudpos10_y</use></value>
444 </uniform>
445 <uniform>
446 <name>cloudpos11_x</name>
447 <type>float</type>
448 <value><use>cloudpos11_x</use></value>
449 </uniform>
450 <uniform>
451 <name>cloudpos11_y</name>
452 <type>float</type>
453 <value><use>cloudpos11_y</use></value>
454 </uniform>
455 <uniform>
456 <name>cloudpos12_x</name>
457 <type>float</type>
458 <value><use>cloudpos12_x</use></value>
459 </uniform>
460 <uniform>
461 <name>cloudpos12_y</name>
462 <type>float</type>
463 <value><use>cloudpos12_y</use></value>
464 </uniform>
465 <uniform>
466 <name>cloudpos13_x</name>
467 <type>float</type>
468 <value><use>cloudpos13_x</use></value>
469 </uniform>
470 <uniform>
471 <name>cloudpos13_y</name>
472 <type>float</type>
473 <value><use>cloudpos13_y</use></value>
474 </uniform>
475 <uniform>
476 <name>cloudpos14_x</name>
477 <type>float</type>
478 <value><use>cloudpos14_x</use></value>
479 </uniform>
480 <uniform>
481 <name>cloudpos14_y</name>
482 <type>float</type>
483 <value><use>cloudpos14_y</use></value>
484 </uniform>
485 <uniform>
486 <name>cloudpos15_x</name>
487 <type>float</type>
488 <value><use>cloudpos15_x</use></value>
489 </uniform>
490 <uniform>
491 <name>cloudpos15_y</name>
492 <type>float</type>
493 <value><use>cloudpos15_y</use></value>
494 </uniform>
495 <uniform>
496 <name>cloudpos16_x</name>
497 <type>float</type>
498 <value><use>cloudpos16_x</use></value>
499 </uniform>
500 <uniform>
501 <name>cloudpos16_y</name>
502 <type>float</type>
503 <value><use>cloudpos16_y</use></value>
504 </uniform>
505 <uniform>
506 <name>cloudpos17_x</name>
507 <type>float</type>
508 <value><use>cloudpos17_x</use></value>
509 </uniform>
510 <uniform>
511 <name>cloudpos17_y</name>
512 <type>float</type>
513 <value><use>cloudpos17_y</use></value>
514 </uniform>
515 <uniform>
516 <name>cloudpos18_x</name>
517 <type>float</type>
518 <value><use>cloudpos18_x</use></value>
519 </uniform>
520 <uniform>
521 <name>cloudpos18_y</name>
522 <type>float</type>
523 <value><use>cloudpos18_y</use></value>
524 </uniform>
525 <uniform>
526 <name>cloudpos19_x</name>
527 <type>float</type>
528 <value><use>cloudpos19_x</use></value>
529 </uniform>
530 <uniform>
531 <name>cloudpos19_y</name>
532 <type>float</type>
533 <value><use>cloudpos19_y</use></value>
534 </uniform>
535 <uniform>
536 <name>cloudpos20_x</name>
537 <type>float</type>
538 <value><use>cloudpos20_x</use></value>
539 </uniform>
540 <uniform>
541 <name>cloudpos20_y</name>
542 <type>float</type>
543 <value><use>cloudpos20_y</use></value>
544 </uniform>
545 <uniform>
546 <name>cloud_shadow_flag</name>
547 <type>int</type>
548 <value><use>cloud_shadow_flag</use></value>
549 </uniform>
550 <uniform>
551 <name>quality_level</name>
552 <type>int</type>
553 <value> <use>quality_level</use></value>
554 </uniform>
555 <uniform>
556 <name>tquality_level</name>
557 <type>int</type>
558 <value> <use>tquality_level</use></value>
559 </uniform>
560 <uniform>
561 <name>use_overlay</name>
562 <type>int</type>
563 <value> <use>use_overlay</use></value>
564 </uniform>
565 <uniform>
566 <name>use_grain</name>
567 <type>int</type>
568 <value> <use>use_grain</use></value>
569 </uniform>
570 <uniform>
571 <name>use_color_overlay</name>
572 <type>int</type>
573 <value> <use>use_color_overlay</use></value>
574 </uniform>
575 <uniform>
576 <name>use_searchlight</name>
577 <type>int</type>
578 <value> <use>use_searchlight</use></value>
579 </uniform>
580 <uniform>
581 <name>use_landing_light</name>
582 <type>int</type>
583 <value> <use>use_landing_light</use></value>
584 </uniform>
585 <uniform>
586 <name>use_alt_landing_light</name>
587 <type>int</type>
588 <value> <use>use_alt_landing_light</use></value>
589 </uniform>
590 <uniform>
591 <name>display_xsize</name>
592 <type>int</type>
593 <value><use>display_xsize</use></value>
594 </uniform>
595 <uniform>
596 <name>display_ysize</name>
597 <type>int</type>
598 <value><use>display_ysize</use></value>
599 </uniform>
600 <uniform>
601 <name>raise_vertex</name>
602 <type>bool</type>
603 <value> <use>raise_vertex</use></value>
604 </uniform>
605 <uniform>
606 <name>texture</name>
607 <type>sampler-2d</type>
608 <value type="int">0</value>
609 </uniform>
610 <uniform>
611 <name>overlay_texture</name>
612 <type>sampler-2d</type>
613 <value type="int">1</value>
614 </uniform>
615 <uniform>
616 <name>grain_texture</name>
617 <type>sampler-2d</type>
618 <value type="int">2</value>
619 </uniform>
620 <uniform>
621 <name>colorMode</name>
622 <type>int</type>
623 <value>2</value> <!-- AMBIENT_AND_DIFFUSE -->
624 </uniform>
625 <uniform>
626 <name>orthophotoTexture</name>
627 <type>sampler-2d</type>
628 <value type="int">15</value>
629 </uniform>
630 <!-- BEGIN shadows include -->
631 <uniform>
632 <name>shadow_tex</name>
633 <type>sampler-2d</type>
634 <value type="int">10</value>
635 </uniform>
636 <uniform>
637 <name>shadows_enabled</name>
638 <type>bool</type>
639 <value>
640 <use>shadows_enabled</use>
641 </value>
642 </uniform>
643 <uniform>
644 <name>sun_atlas_size</name>
645 <type>int</type>
646 <value>
647 <use>sun_atlas_size</use>
648 </value>
649 </uniform>
650 <!-- END shadows include -->
651 <depth>
652 <function>lequal</function>
653 <write-mask type="bool">false</write-mask>
654 </depth>
655 </pass>
656 </technique>
657 </PropertyList>