Debian Codegraph @

Effects/dirt-runway.eff

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