Debian Codegraph @

Effects/road.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- generic road effect for OSM detailed roads -->
3
4 <PropertyList>
5 <name>Effects/road</name>
6 <inherits-from>Effects/model-combined-deferred</inherits-from>
7
8 <parameters>
9 <texture n="7">
10 <image>Textures/Terrain/grain_texture.png</image>
11 <type>2d</type>
12 <filter>linear-mipmap-linear</filter>
13 <wrap-s>repeat</wrap-s>
14 <wrap-t>repeat</wrap-t>
15 <internal-format>normalized</internal-format>
16 </texture>
17 <texture n="8">
18 <image>Textures/Cars/cars.png</image>
19 <type>2d</type>
20 <filter>linear-mipmap-linear</filter>
21 <wrap-s>repeat</wrap-s>
22 <wrap-t>repeat</wrap-t>
23 <internal-format>normalized</internal-format>
24 </texture>
25 <texture n="9">
26 <image>Textures/Cars/cars-metadata.png</image>
27 <type>2d</type>
28 <filter>linear-mipmap-linear</filter>
29 <wrap-s>repeat</wrap-s>
30 <wrap-t>repeat</wrap-t>
31 <internal-format>normalized</internal-format>
32 </texture>
33 <grain-texture-enabled type="int">0</grain-texture-enabled>
34 <grain-magnification type="float">50</grain-magnification>
35 <lightmap-enabled type="int">1</lightmap-enabled>
36 <normalmap-enabled>0</normalmap-enabled>
37 <lightmap-color type="vec3d" n="0"> 0.941 0.682 0.086 </lightmap-color>
38 <snow_level><use>/environment/snow-level-m</use></snow_level>
39 <snow_thickness_factor><use>/environment/surface/snow-thickness-factor</use></snow_thickness_factor>
40 <road-traffic-enabled><use>/sim/rendering/osm/road-traffic-enabled</use></road-traffic-enabled>
41 <road-traffic-density><use>/sim/rendering/osm/road-traffic-density</use></road-traffic-density>
42 <road-traffic-direction><use>/sim/rendering/osm/road-traffic-direction</use></road-traffic-direction>
43 <road-traffic-variation><use>/sim/rendering/osm/road-traffic-daily-variation</use></road-traffic-variation>
44 <road-light-factor><use>/environment/lightmap-factor</use></road-light-factor>
45
46 <!-- PBR -->
47 <pbr-metallic type="float">0.0</pbr-metallic>
48 <pbr-roughness type="float">0.95</pbr-roughness>
49 </parameters>
50
51 <generate>
52 <tangent type="int">6</tangent>
53 <binormal type="int">7</binormal>
54 </generate>
55
56 <technique n="3">
57 <predicate>
58 <and>
59 <property>/sim/rendering/shaders/skydome</property>
60 <property>/sim/rendering/shaders/model</property>
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 <pass>
76 <lighting>true</lighting>
77 <material>
78 <active>
79 <use>material/active</use>
80 </active>
81 <ambient>
82 <use>material/ambient</use>
83 </ambient>
84 <diffuse>
85 <use>material/diffuse</use>
86 </diffuse>
87 <specular>
88 <use>material/specular</use>
89 </specular>
90 <emissive>
91 <use>material/emissive</use>
92 </emissive>
93 <shininess>
94 <use>material/shininess</use>
95 </shininess>
96 <color-mode>
97 <use>material/color-mode</use>
98 </color-mode>
99 </material>
100 <blend>
101 <active>
102 <use>blend/active</use>
103 </active>
104 <source>
105 <use>blend/source</use>
106 </source>
107 <destination>
108 <use>blend/destination</use>
109 </destination>
110 </blend>
111 <shade-model>
112 <use>shade-model</use>
113 </shade-model>
114 <cull-face>
115 <use>cull-face</use>
116 </cull-face>
117 <rendering-hint>
118 <use>rendering-hint</use>
119 </rendering-hint>
120 <blend>
121 <use>transparent</use>
122 </blend>
123 <alpha-test>
124 <use>transparent</use>
125 </alpha-test>
126 <render-bin>
127 <bin-number>
128 <use>render-bin/bin-number</use>
129 </bin-number>
130 <bin-name>
131 <use>render-bin/bin-name</use>
132 </bin-name>
133 </render-bin>
134 <!-- Diffuse texture unit-->
135 <texture-unit>
136 <unit>0</unit>
137 <image>
138 <use>texture[0]/image</use>
139 </image>
140 <type>
141 <use>texture[0]/type</use>
142 </type>
143 <filter>
144 <use>texture[0]/filter</use>
145 </filter>
146 <wrap-s>
147 <use>texture[0]/wrap-s</use>
148 </wrap-s>
149 <wrap-t>
150 <use>texture[0]/wrap-t</use>
151 </wrap-t>
152 <internal-format>
153 <use>texture[0]/internal-format</use>
154 </internal-format>
155 </texture-unit>
156 <!-- Car Metadata texture unit-->
157 <texture-unit>
158 <unit>1</unit>
159 <image>
160 <use>texture[9]/image</use>
161 </image>
162 <type>
163 <use>texture[9]/type</use>
164 </type>
165 <filter>
166 <use>texture[9]/filter</use>
167 </filter>
168 <wrap-s>
169 <use>texture[9]/wrap-s</use>
170 </wrap-s>
171 <wrap-t>
172 <use>texture[9]/wrap-t</use>
173 </wrap-t>
174 <internal-format>
175 <use>texture[9]/internal-format</use>
176 </internal-format>
177 </texture-unit>
178 <!-- NormalMap texture unit-->
179 <texture-unit>
180 <unit>2</unit>
181 <image>
182 <use>texture[2]/image</use>
183 </image>
184 <type>
185 <use>texture[2]/type</use>
186 </type>
187 <filter>
188 <use>texture[2]/filter</use>
189 </filter>
190 <wrap-s>
191 <use>texture[2]/wrap-s</use>
192 </wrap-s>
193 <wrap-t>
194 <use>texture[2]/wrap-t</use>
195 </wrap-t>
196 <internal-format>
197 <use>texture[2]/internal-format</use>
198 </internal-format>
199 </texture-unit>
200
201 <!-- ReflectMap texture unit-->
202 <texture-unit>
203 <unit>4</unit>
204 <image>
205 <use>texture[4]/image</use>
206 </image>
207 <type>
208 <use>texture[4]/type</use>
209 </type>
210 <filter>
211 <use>texture[4]/filter</use>
212 </filter>
213 <wrap-s>
214 <use>texture[4]/wrap-s</use>
215 </wrap-s>
216 <wrap-t>
217 <use>texture[4]/wrap-t</use>
218 </wrap-t>
219 <internal-format>
220 <use>texture[4]/internal-format</use>
221 </internal-format>
222 </texture-unit>
223 <!-- Car shape texture unit-->
224 <texture-unit>
225 <unit>3</unit>
226 <image>
227 <use>texture[8]/image</use>
228 </image>
229 <type>
230 <use>texture[8]/type</use>
231 </type>
232 <filter>
233 <use>texture[8]/filter</use>
234 </filter>
235 <wrap-s>
236 <use>texture[8]/wrap-s</use>
237 </wrap-s>
238 <wrap-t>
239 <use>texture[8]/wrap-t</use>
240 </wrap-t>
241 <internal-format>
242 <use>texture[8]/internal-format</use>
243 </internal-format>
244 </texture-unit>
245 <!-- Reflection CubeMap texture unit-->
246 <texture-unit>
247 <unit>5</unit>
248 <type>
249 <use>texture[5]/type</use>
250 </type>
251 <!-- use this form for a cube cross -->
252 <!--<image>
253 <use>texture[5]/image</use>
254 </image>-->
255 <!-- END CubeCross -->
256 <!-- use this form for a 6 image cube map -->
257 <images>
258 <use>texture[5]/images</use>
259 </images>
260 <!-- END 6 image cube map -->
261 </texture-unit>
262 <!-- Reflection gradients texture unit-->
263 <texture-unit>
264 <unit>6</unit>
265 <image>
266 <use>texture[6]/image</use>
267 </image>
268 <type>
269 <use>texture[6]/type</use>
270 </type>
271 <filter>
272 <use>texture[6]/filter</use>
273 </filter>
274 <wrap-s>
275 <use>texture[6]/wrap-s</use>
276 </wrap-s>
277 <wrap-t>
278 <use>texture[6]/wrap-t</use>
279 </wrap-t>
280 <internal-format>
281 <use>texture[6]/internal-format</use>
282 </internal-format>
283 </texture-unit>
284 <!-- Grain texture -->
285 <texture-unit>
286 <unit>7</unit>
287 <image>
288 <use>texture[7]/image</use>
289 </image>
290 <type>
291 <use>texture[7]/type</use>
292 </type>
293 <filter>
294 <use>texture[7]/filter</use>
295 </filter>
296 <wrap-s>
297 <use>texture[7]/wrap-s</use>
298 </wrap-s>
299 <wrap-t>
300 <use>texture[7]/wrap-t</use>
301 </wrap-t>
302 <internal-format>
303 <use>texture[7]/internal-format</use>
304 </internal-format>
305 </texture-unit>
306
307 <vertex-program-two-side>
308 <use>vertex-program-two-side</use>
309 </vertex-program-two-side>
310
311 <program>
312 <vertex-shader>Shaders/model-ALS-ultra.vert</vertex-shader>
313 <vertex-shader>Shaders/shadows-include.vert</vertex-shader>
314 <fragment-shader>Shaders/road-ALS-ultra.frag</fragment-shader>
315 <fragment-shader>Shaders/cloud-shadowfunc.frag</fragment-shader>
316 <fragment-shader>Shaders/hazes.frag</fragment-shader>
317 <fragment-shader>Shaders/secondary_lights.frag</fragment-shader>
318 <fragment-shader>Shaders/noise.frag</fragment-shader>
319 <fragment-shader>Shaders/filters-ALS.frag</fragment-shader>
320 <fragment-shader>Shaders/shadows-include.frag</fragment-shader>
321 <fragment-shader>Shaders/clustered-include.frag</fragment-shader>
322 <attribute>
323 <name>tangent</name>
324 <index>6</index>
325 </attribute>
326 <attribute>
327 <name>binormal</name>
328 <index>7</index>
329 </attribute>
330
331 </program>
332
333 <uniform>
334 <name>BaseTex</name>
335 <type>sampler-2d</type>
336 <value type="int">0</value>
337 </uniform>
338
339 <uniform>
340 <name>CarMetaTex</name>
341 <type>sampler-2d</type>
342 <value type="int">1</value>
343 </uniform>
344
345 <uniform>
346 <name>NormalTex</name>
347 <type>sampler-2d</type>
348 <value type="int">2</value>
349 </uniform>
350
351 <uniform>
352 <name>CarTex</name>
353 <type>sampler-2d</type>
354 <value type="int">3</value>
355 </uniform>
356
357
358 <uniform>
359 <name>ReflMapTex</name>
360 <type>sampler-2d</type>
361 <value type="int">4</value>
362 </uniform>
363
364 <uniform>
365 <name>Environment</name>
366 <type>sampler-cube</type>
367 <value type="int">5</value>
368 </uniform>
369
370 <uniform>
371 <name>ReflGradientsTex</name>
372 <type>sampler-2d</type>
373 <value type="int">6</value>
374 </uniform>
375
376 <uniform>
377 <name>GrainTex</name>
378 <type>sampler-2d</type>
379 <value type="int">7</value>
380 </uniform>
381
382 <!-- NORMAL MAP -->
383 <!-- normalmap is used-->
384 <uniform>
385 <name>nmap_enabled</name>
386 <type>int</type>
387 <value>
388 <use>normalmap-enabled</use>
389 </value>
390 </uniform>
391
392 <!-- normalmap is .dds-->
393 <uniform>
394 <name>nmap_dds</name>
395 <type>int</type>
396 <value>
397 <use>normalmap-dds</use>
398 </value>
399 </uniform>
400
401 <uniform>
402 <name>nmap_tile</name>
403 <type>float</type>
404 <value>
405 <use>normalmap-tiling</use>
406 </value>
407 </uniform>
408
409
410
411 <!-- reflection is used -->
412 <uniform>
413 <name>refl_enabled</name>
414 <type>int</type>
415 <value>
416 <use>reflection-enabled</use>
417 </value>
418 </uniform>
419 <!-- reflection correction -->
420 <uniform>
421 <name>refl_correction</name>
422 <type>float</type>
423 <value>
424 <use>reflection-correction</use>
425 </value>
426 </uniform>
427
428 <!-- Fresnel reflectivity -->
429 <uniform>
430 <name>refl_fresnel_factor</name>
431 <type>float</type>
432 <value>
433 <use>reflection-fresnel-factor</use>
434 </value>
435 </uniform>
436
437 <!-- use a reflection map-->
438 <uniform>
439 <name>refl_map</name>
440 <type>int</type>
441 <value>
442 <use>reflect-map-enabled</use>
443 </value>
444 </uniform>
445
446 <!-- how are colors merged in a reflection-->
447 <uniform>
448 <name>refl_type</name>
449 <type>int</type>
450 <value>
451 <use>reflection-type</use>
452 </value>
453 </uniform>
454
455
456 <!-- reflection is dynamic -->
457 <uniform>
458 <name>refl_dynamic</name>
459 <type>int</type>
460 <value>
461 <use>reflection-dynamic</use>
462 </value>
463 </uniform>
464
465 <!-- set the amount of fringing colour 0.0 - 1.0 -->
466 <uniform>
467 <name>refl_rainbow</name>
468 <type>float</type>
469 <value>
470 <use>reflection-rainbow</use>
471 </value>
472 </uniform>
473
474 <!-- set the amount of fresnel effect colour 0.0 - 1.0 -->
475 <uniform>
476 <name>refl_fresnel</name>
477 <type>float</type>
478 <value>
479 <use>reflection-fresnel</use>
480 </value>
481 </uniform>
482
483 <!-- set the amount of noisiness 0.0 - 1.0 -->
484 <uniform>
485 <name>refl_noise</name>
486 <type>float</type>
487 <value>
488 <use>reflection-noise</use>
489 </value>
490 </uniform>
491
492 <!-- dirt -->
493 <uniform>
494 <name>dirt_enabled</name>
495 <type>int</type>
496 <value>
497 <use>dirt-enabled</use>
498 </value>
499 </uniform>
500
501 <uniform>
502 <name>dirt_multi</name>
503 <type>int</type>
504 <value>
505 <use>dirt-multi</use>
506 </value>
507 </uniform>
508
509 <uniform>
510 <name>dirt_r_color</name>
511 <type>float-vec3</type>
512 <value>
513 <use>dirt-color[0]</use>
514 </value>
515 </uniform>
516
517 <uniform>
518 <name>dirt_r_factor</name>
519 <type>float</type>
520 <value>
521 <use>dirt-factor[0]</use>
522 </value>
523 </uniform>
524
525 <uniform>
526 <name>dirt_g_color</name>
527 <type>float-vec3</type>
528 <value>
529 <use>dirt-color[1]</use>
530 </value>
531 </uniform>
532
533 <uniform>
534 <name>dirt_g_factor</name>
535 <type>float</type>
536 <value>
537 <use>dirt-factor[1]</use>
538 </value>
539 </uniform>
540
541 <uniform>
542 <name>dirt_b_color</name>
543 <type>float-vec3</type>
544 <value>
545 <use>dirt-color[2]</use>
546 </value>
547 </uniform>
548
549 <uniform>
550 <name>dirt_b_factor</name>
551 <type>float</type>
552 <value>
553 <use>dirt-factor[2]</use>
554 </value>
555 </uniform>
556
557 <!-- road traffic -->
558 <uniform>
559 <name>road_traffic_enabled</name>
560 <type>int</type>
561 <value>
562 <use>road-traffic-enabled</use>
563 </value>
564 </uniform>
565
566 <uniform>
567 <name>road_traffic_density</name>
568 <type>float</type>
569 <value>
570 <use>road-traffic-density</use>
571 </value>
572 </uniform>
573
574 <uniform>
575 <name>road_traffic_variation</name>
576 <type>float</type>
577 <value>
578 <use>road-traffic-variation</use>
579 </value>
580 </uniform>
581
582 <uniform>
583 <name>road_traffic_direction</name>
584 <type>int</type>
585 <value>
586 <use>road-traffic-direction</use>
587 </value>
588 </uniform>
589
590 <!-- road illumination -->
591
592 <uniform>
593 <name>streetlight_color</name>
594 <type>float-vec3</type>
595 <value>
596 <use>lightmap-color</use>
597 </value>
598 </uniform>
599
600 <uniform>
601 <name>streetlight_factor</name>
602 <type>float</type>
603 <value>
604 <use>road-light-factor</use>
605 </value>
606 </uniform>
607
608
609 <!-- use a grain texture map-->
610 <uniform>
611 <name>grain_texture_enabled</name>
612 <type>int</type>
613 <value>
614 <use>grain-texture-enabled</use>
615 </value>
616 </uniform>
617
618 <uniform>
619 <name>grain_magnification</name>
620 <type>float</type>
621 <value>
622 <use>grain-magnification</use>
623 </value>
624 </uniform>
625
626 <!-- simulate wetness, snow and rain-->
627 <uniform>
628 <name>rain_enabled</name>
629 <type>int</type>
630 <value>
631 <use>rain-enabled</use>
632 </value>
633 </uniform>
634
635 <uniform>
636 <name>snowlevel</name>
637 <type>float</type>
638 <value><use>snow_level</use></value>
639 </uniform>
640
641 <uniform>
642 <name>snow_thickness_factor</name>
643 <type>float</type>
644 <value><use>snow_thickness_factor</use></value>
645 </uniform>
646
647 <!-- set the amount of ambient light correction 0.0 - 1.0 -->
648 <uniform>
649 <name>amb_correction</name>
650 <type>float</type>
651 <value>
652 <use>ambient-correction</use>
653 </value>
654 </uniform>
655
656 <uniform>
657 <name>hdg</name>
658 <type>float</type>
659 <value>
660 <use>model-hdg</use>
661 </value>
662 </uniform>
663
664 <uniform>
665 <name>pitch</name>
666 <type>float</type>
667 <value>
668 <use>model-pitch</use>
669 </value>
670 </uniform>
671
672 <uniform>
673 <name>roll</name>
674 <type>float</type>
675 <value>
676 <use>model-roll</use>
677 </value>
678 </uniform>
679
680 <!-- BEGIN fog include -->
681 <uniform>
682 <name>visibility</name>
683 <type>float</type>
684 <value>
685 <use>visibility</use>
686 </value>
687 </uniform>
688 <uniform>
689 <name>avisibility</name>
690 <type>float</type>
691 <value>
692 <use>avisibility</use>
693 </value>
694 </uniform>
695 <uniform>
696 <name>hazeLayerAltitude</name>
697 <type>float</type>
698 <value>
699 <use>lthickness</use>
700 </value>
701 </uniform>
702 <uniform>
703 <name>scattering</name>
704 <type>float</type>
705 <value>
706 <use>scattering</use>
707 </value>
708 </uniform>
709 <uniform>
710 <name>terminator</name>
711 <type>float</type>
712 <value>
713 <use>terminator</use>
714 </value>
715 </uniform>
716 <uniform>
717 <name>ground_scattering</name>
718 <type>float</type>
719 <value>
720 <use>ground_scattering</use>
721 </value>
722 </uniform>
723 <uniform>
724 <name>terminator</name>
725 <type>float</type>
726 <value>
727 <use>terminator</use>
728 </value>
729 </uniform>
730 <uniform>
731 <name>terrain_alt</name>
732 <type>float</type>
733 <value>
734 <use>terrain_alt</use>
735 </value>
736 </uniform>
737 <uniform>
738 <name>overcast</name>
739 <type>float</type>
740 <value>
741 <use>overcast</use>
742 </value>
743 </uniform>
744 <uniform>
745 <name>eye_alt</name>
746 <type>float</type>
747 <value>
748 <use>eye_alt</use>
749 </value>
750 </uniform>
751 <uniform>
752 <name>cloud_self_shading</name>
753 <type>float</type>
754 <value><use>cloud_self_shading</use></value>
755 </uniform>
756 <uniform>
757 <name>moonlight</name>
758 <type>float</type>
759 <value><use>moonlight</use></value>
760 </uniform>
761 <uniform>
762 <name>air_pollution</name>
763 <type>float</type>
764 <value><use>air_pollution</use></value>
765 </uniform>
766 <uniform>
767 <name>rain_norm</name>
768 <type>float</type>
769 <value><use>rnorm</use></value>
770 </uniform>
771 <uniform>
772 <name>wetness</name>
773 <type>float</type>
774 <value><use>wetness</use></value>
775 </uniform>
776 <uniform>
777 <name>view_pitch_offset</name>
778 <type>float</type>
779 <value><use>view_pitch_offset</use></value>
780 </uniform>
781 <uniform>
782 <name>view_heading_offset</name>
783 <type>float</type>
784 <value><use>view_heading_offset</use></value>
785 </uniform>
786 <uniform>
787 <name>field_of_view</name>
788 <type>float</type>
789 <value><use>view_fov</use></value>
790 </uniform>
791 <uniform>
792 <name>landing_light1_offset</name>
793 <type>float</type>
794 <value><use>landing_light1_offset</use></value>
795 </uniform>
796 <uniform>
797 <name>landing_light2_offset</name>
798 <type>float</type>
799 <value><use>landing_light2_offset</use></value>
800 </uniform>
801 <uniform>
802 <name>landing_light3_offset</name>
803 <type>float</type>
804 <value><use>landing_light3_offset</use></value>
805 </uniform>
806 <uniform>
807 <name>gamma</name>
808 <type>float</type>
809 <value><use>gamma</use></value>
810 </uniform>
811 <uniform>
812 <name>brightness</name>
813 <type>float</type>
814 <value><use>brightness</use></value>
815 </uniform>
816 <uniform>
817 <name>use_filtering</name>
818 <type>bool</type>
819 <value><use>use_filtering</use></value>
820 </uniform>
821 <uniform>
822 <name>use_night_vision</name>
823 <type>bool</type>
824 <value><use>use_night_vision</use></value>
825 </uniform>
826 <uniform>
827 <name>use_IR_vision</name>
828 <type>bool</type>
829 <value><use>use_IR_vision</use></value>
830 </uniform>
831 <uniform>
832 <name>delta_T</name>
833 <type>float</type>
834 <value><use>delta_T</use></value>
835 </uniform>
836 <uniform>
837 <name>fact_grey</name>
838 <type>float</type>
839 <value><use>fact_grey</use></value>
840 </uniform>
841 <uniform>
842 <name>fact_black</name>
843 <type>float</type>
844 <value><use>fact_black</use></value>
845 </uniform>
846
847 <uniform>
848 <name>quality_level</name>
849 <type>int</type>
850 <value><use>quality_level</use></value>
851 </uniform>
852 <uniform>
853 <name>tquality_level</name>
854 <type>int</type>
855 <value><use>tquality_level</use></value>
856 </uniform>
857
858 <!-- cloud shadows -->
859 <uniform>
860 <name>cloudpos1_x</name>
861 <type>float</type>
862 <value><use>cloudpos1_x</use></value>
863 </uniform>
864 <uniform>
865 <name>cloudpos1_y</name>
866 <type>float</type>
867 <value><use>cloudpos1_y</use></value>
868 </uniform>
869 <uniform>
870 <name>cloudpos2_x</name>
871 <type>float</type>
872 <value><use>cloudpos2_x</use></value>
873 </uniform>
874 <uniform>
875 <name>cloudpos2_y</name>
876 <type>float</type>
877 <value><use>cloudpos2_y</use></value>
878 </uniform>
879 <uniform>
880 <name>cloudpos3_x</name>
881 <type>float</type>
882 <value><use>cloudpos3_x</use></value>
883 </uniform>
884 <uniform>
885 <name>cloudpos3_y</name>
886 <type>float</type>
887 <value><use>cloudpos3_y</use></value>
888 </uniform>
889 <uniform>
890 <name>cloudpos4_x</name>
891 <type>float</type>
892 <value><use>cloudpos4_x</use></value>
893 </uniform>
894 <uniform>
895 <name>cloudpos4_y</name>
896 <type>float</type>
897 <value><use>cloudpos4_y</use></value>
898 </uniform>
899 <uniform>
900 <name>cloudpos5_x</name>
901 <type>float</type>
902 <value><use>cloudpos5_x</use></value>
903 </uniform>
904 <uniform>
905 <name>cloudpos5_y</name>
906 <type>float</type>
907 <value><use>cloudpos5_y</use></value>
908 </uniform>
909 <uniform>
910 <name>cloudpos6_x</name>
911 <type>float</type>
912 <value><use>cloudpos6_x</use></value>
913 </uniform>
914 <uniform>
915 <name>cloudpos6_y</name>
916 <type>float</type>
917 <value><use>cloudpos6_y</use></value>
918 </uniform>
919 <uniform>
920 <name>cloudpos7_x</name>
921 <type>float</type>
922 <value><use>cloudpos7_x</use></value>
923 </uniform>
924 <uniform>
925 <name>cloudpos7_y</name>
926 <type>float</type>
927 <value><use>cloudpos7_y</use></value>
928 </uniform>
929 <uniform>
930 <name>cloudpos8_x</name>
931 <type>float</type>
932 <value><use>cloudpos8_x</use></value>
933 </uniform>
934 <uniform>
935 <name>cloudpos8_y</name>
936 <type>float</type>
937 <value><use>cloudpos8_y</use></value>
938 </uniform>
939 <uniform>
940 <name>cloudpos9_x</name>
941 <type>float</type>
942 <value><use>cloudpos9_x</use></value>
943 </uniform>
944 <uniform>
945 <name>cloudpos9_y</name>
946 <type>float</type>
947 <value><use>cloudpos9_y</use></value>
948 </uniform>
949 <uniform>
950 <name>cloudpos10_x</name>
951 <type>float</type>
952 <value><use>cloudpos10_x</use></value>
953 </uniform>
954 <uniform>
955 <name>cloudpos10_y</name>
956 <type>float</type>
957 <value><use>cloudpos10_y</use></value>
958 </uniform>
959 <uniform>
960 <name>cloudpos11_x</name>
961 <type>float</type>
962 <value><use>cloudpos11_x</use></value>
963 </uniform>
964 <uniform>
965 <name>cloudpos11_y</name>
966 <type>float</type>
967 <value><use>cloudpos11_y</use></value>
968 </uniform>
969 <uniform>
970 <name>cloudpos12_x</name>
971 <type>float</type>
972 <value><use>cloudpos12_x</use></value>
973 </uniform>
974 <uniform>
975 <name>cloudpos12_y</name>
976 <type>float</type>
977 <value><use>cloudpos12_y</use></value>
978 </uniform>
979 <uniform>
980 <name>cloudpos13_x</name>
981 <type>float</type>
982 <value><use>cloudpos13_x</use></value>
983 </uniform>
984 <uniform>
985 <name>cloudpos13_y</name>
986 <type>float</type>
987 <value><use>cloudpos13_y</use></value>
988 </uniform>
989 <uniform>
990 <name>cloudpos14_x</name>
991 <type>float</type>
992 <value><use>cloudpos14_x</use></value>
993 </uniform>
994 <uniform>
995 <name>cloudpos14_y</name>
996 <type>float</type>
997 <value><use>cloudpos14_y</use></value>
998 </uniform>
999 <uniform>
1000 <name>cloudpos15_x</name>
1001 <type>float</type>
1002 <value><use>cloudpos15_x</use></value>
1003 </uniform>
1004 <uniform>
1005 <name>cloudpos15_y</name>
1006 <type>float</type>
1007 <value><use>cloudpos15_y</use></value>
1008 </uniform>
1009 <uniform>
1010 <name>cloudpos16_x</name>
1011 <type>float</type>
1012 <value><use>cloudpos16_x</use></value>
1013 </uniform>
1014 <uniform>
1015 <name>cloudpos16_y</name>
1016 <type>float</type>
1017 <value><use>cloudpos16_y</use></value>
1018 </uniform>
1019 <uniform>
1020 <name>cloudpos17_x</name>
1021 <type>float</type>
1022 <value><use>cloudpos17_x</use></value>
1023 </uniform>
1024 <uniform>
1025 <name>cloudpos17_y</name>
1026 <type>float</type>
1027 <value><use>cloudpos17_y</use></value>
1028 </uniform>
1029 <uniform>
1030 <name>cloudpos18_x</name>
1031 <type>float</type>
1032 <value><use>cloudpos18_x</use></value>
1033 </uniform>
1034 <uniform>
1035 <name>cloudpos18_y</name>
1036 <type>float</type>
1037 <value><use>cloudpos18_y</use></value>
1038 </uniform>
1039 <uniform>
1040 <name>cloudpos19_x</name>
1041 <type>float</type>
1042 <value><use>cloudpos19_x</use></value>
1043 </uniform>
1044 <uniform>
1045 <name>cloudpos19_y</name>
1046 <type>float</type>
1047 <value><use>cloudpos19_y</use></value>
1048 </uniform>
1049 <uniform>
1050 <name>cloudpos20_x</name>
1051 <type>float</type>
1052 <value><use>cloudpos20_x</use></value>
1053 </uniform>
1054 <uniform>
1055 <name>cloudpos20_y</name>
1056 <type>float</type>
1057 <value><use>cloudpos20_y</use></value>
1058 </uniform>
1059 <uniform>
1060 <name>cloud_shadow_flag</name>
1061 <type>int</type>
1062 <value><use>cloud_shadow_flag</use></value>
1063 </uniform>
1064 <uniform>
1065 <name>use_searchlight</name>
1066 <type>int</type>
1067 <value><use>use_searchlight</use></value>
1068 </uniform>
1069 <uniform>
1070 <name>use_landing_light</name>
1071 <type>int</type>
1072 <value><use>use_landing_light</use></value>
1073 </uniform>
1074 <uniform>
1075 <name>use_alt_landing_light</name>
1076 <type>int</type>
1077 <value><use>use_alt_landing_light</use></value>
1078 </uniform>
1079 <uniform>
1080 <name>display_xsize</name>
1081 <type>int</type>
1082 <value><use>display_xsize</use></value>
1083 </uniform>
1084 <uniform>
1085 <name>display_ysize</name>
1086 <type>int</type>
1087 <value><use>display_ysize</use></value>
1088 </uniform>
1089
1090 <!-- BEGIN shadows include -->
1091 <uniform>
1092 <name>shadow_tex</name>
1093 <type>sampler-2d</type>
1094 <value type="int">10</value>
1095 </uniform>
1096 <uniform>
1097 <name>shadows_enabled</name>
1098 <type>bool</type>
1099 <value>
1100 <use>shadows_enabled</use>
1101 </value>
1102 </uniform>
1103 <uniform>
1104 <name>sun_atlas_size</name>
1105 <type>int</type>
1106 <value>
1107 <use>sun_atlas_size</use>
1108 </value>
1109 </uniform>
1110 <!-- END shadows include -->
1111
1112 </pass>
1113 </technique>
1114
1115
1116 </PropertyList>