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