Debian Codegraph @

Effects/model-combined.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Reflections + Bumpmapping + specular+Lightmap
3 please see Docs/README.model-combined.eff for documentation
4 -->
5 <PropertyList>
6 <name>Effects/model-combined</name>
7 <inherits-from>Effects/model-default</inherits-from>
8
9 <parameters>
10 <!-- Diffuse Texture -->
11 <!-- <texture n ="0">
12 <type>white</type>
13 </texture>-->
14 <!-- Normal Map -->
15 <normalmap-enabled type="int">0</normalmap-enabled>
16 <normalmap-dds type="int">0</normalmap-dds>
17 <normalmap-tiling type="float">1.0</normalmap-tiling>
18 <texture n="2">
19 <image>Aircraft/Generic/Effects/null_bumpspec.png</image>
20 <type>2d</type>
21 <filter>linear-mipmap-linear</filter>
22 <wrap-s>clamp</wrap-s>
23 <wrap-t>clamp</wrap-t>
24 <internal-format>normalized</internal-format>
25 </texture>
26 <!-- Light Map -->
27 <lightmap-enabled type="int">0</lightmap-enabled>
28 <lightmap-multi type="int">0</lightmap-multi>
29 <lightmap-factor type="float" n="0">1.0</lightmap-factor>
30 <lightmap-color type="vec3d" n="0"> 1.0 1.0 1.0 </lightmap-color>
31 <lightmap-factor type="float" n="1">1.0</lightmap-factor>
32 <lightmap-color type="vec3d" n="1"> 1.0 1.0 1.0 </lightmap-color>
33 <lightmap-factor type="float" n="2">1.0</lightmap-factor>
34 <lightmap-color type="vec3d" n="2"> 1.0 1.0 1.0 </lightmap-color>
35 <lightmap-factor type="float" n="3">1.0</lightmap-factor>
36 <lightmap-color type="vec3d" n="3"> 1.0 1.0 1.0 </lightmap-color>
37 <darkmap-enabled type="int">0</darkmap-enabled>
38 <darkmap-factor type="float">0.0</darkmap-factor>
39 <texture n="3">
40 <image>Aircraft/Generic/Effects/greymap.png</image>
41 <type>2d</type>
42 <filter>linear-mipmap-linear</filter>
43 <wrap-s>clamp</wrap-s>
44 <wrap-t>clamp</wrap-t>
45 <internal-format>normalized</internal-format>
46 </texture>
47 <!-- Reflection -->
48 <reflection-enabled type="int">0</reflection-enabled>
49 <reflection-correction type="float">0.0</reflection-correction>
50 <reflect-map-enabled type="int">0</reflect-map-enabled>
51 <reflection-fresnel-factor type="float">0.0</reflection-fresnel-factor>
52 <reflection-type type="int">1</reflection-type>
53 <reflection-dynamic type="int">0</reflection-dynamic>
54 <texture n="4">
55 <image>Aircraft/Generic/Effects/ReflectMaps/reflectmap.png</image>
56 <type>2d</type>
57 <filter>linear-mipmap-linear</filter>
58 <wrap-s>clamp</wrap-s>
59 <wrap-t>clamp</wrap-t>
60 <internal-format>normalized</internal-format>
61 </texture>
62 <!-- Reflection environment -->
63 <texture n="5">
64 <type>cubemap</type>
65 <!-- use this form for a cube cross -->
66 <!--<image>Aircraft/Generic/Effects/CubeCrosses/blue_sky_big.jpg</image>-->
67 <!-- END CubeCross -->
68 <!-- use this form for a 6 image cube map -->
69 <images>
70 <positive-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_px.png</positive-x>
71 <negative-x>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nx.png</negative-x>
72 <positive-y>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_py.png</positive-y>
73 <negative-y>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_ny.png</negative-y>
74 <positive-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_pz.png</positive-z>
75 <negative-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nz.png</negative-z>
76 </images>
77 <!-- END 6 image cube map -->
78 </texture>
79 <!-- Reflection fresnel -->
80 <reflection-fresnel type="float">0.1</reflection-fresnel>
81 <texture n="6">
82 <image>Aircraft/Generic/Effects/Gradients.png</image>
83 <type>2d</type>
84 <filter>linear-mipmap-linear</filter>
85 <wrap-s>repeat</wrap-s>
86 <wrap-t>repeat</wrap-t>
87 <internal-format>normalized</internal-format>
88 </texture>
89 <!-- Reflection rainbow -->
90 <reflection-rainbow type="float">0.01</reflection-rainbow>
91 <reflection-noise type="float">0.25</reflection-noise>
92 <!-- END Reflection -->
93 <!-- grain texture -->
94 <grain-texture-enabled type="int">0</grain-texture-enabled>
95 <grain-magnification type="float">10</grain-magnification>
96 <texture n="7">
97 <image>Textures/Terrain/void.png</image>
98 <type>2d</type>
99 <filter>linear-mipmap-linear</filter>
100 <wrap-s>repeat</wrap-s>
101 <wrap-t>repeat</wrap-t>
102 <internal-format>normalized</internal-format>
103 </texture>
104 <!-- END Grain texture -->
105 <!-- simulate rain effects -->
106 <rain-enabled type="int">0</rain-enabled>
107 <snow-enabled type="int">0</snow-enabled>
108 <!-- Dirt -->
109 <dirt-enabled type="int">0</dirt-enabled>
110 <dirt-multi type="int">0</dirt-multi>
111 <dirt-color type="vec3d" n="0">0.0 0.0 0.0</dirt-color>
112 <dirt-factor type="float" n="0">0.0</dirt-factor>
113 <dirt-color type="vec3d" n="1">0.0 0.0 0.0</dirt-color>
114 <dirt-factor type="float" n="1">0.0</dirt-factor>
115 <dirt-color type="vec3d" n="2">0.0 0.0 0.0</dirt-color>
116 <dirt-factor type="float" n="2">0.0</dirt-factor>
117 <dirt-modulates-reflection type="int">0</dirt-modulates-reflection>
118 <dirt-reflection-factor type="double">1.0</dirt-reflection-factor>
119 <!-- ambient correction -->
120 <ambient-correction type="float">0.05</ambient-correction>
121 <rendering-hint>opaque</rendering-hint>
122 <transparent>false</transparent>
123 <render-bin>
124 <bin-number>1</bin-number>
125 <bin-name>RenderBin</bin-name>
126 </render-bin>
127 <!-- INTERNAL USE -->
128 <shade-model>smooth</shade-model>
129 <model-hdg>
130 <use>orientation/model/heading-deg</use>
131 </model-hdg>
132 <model-pitch>
133 <use>orientation/model/pitch-deg</use>
134 </model-pitch>
135 <model-roll>
136 <use>orientation/model/roll-deg</use>
137 </model-roll>
138 <pos-lon>
139 <use>position/model/longitude-deg</use>
140 </pos-lon>
141 <pos-lat>
142 <use>position/model/latitude-deg</use>
143 </pos-lat>
144 <!-- fog include -->
145 <visibility><use>/environment/ground-visibility-m</use></visibility>
146 <avisibility><use>/environment/visibility-m</use></avisibility>
147 <lthickness><use>/environment/ground-haze-thickness-m</use></lthickness>
148 <scattering><use>/rendering/scene/scattering</use></scattering>
149 <terminator><use>/environment/terminator-relative-position-m</use></terminator>
150 <fogtype><use>/sim/rendering/shaders/skydome</use></fogtype>
151 <wetness><use>/environment/surface/wetness</use></wetness>
152 <rnorm><use>/environment/rain-norm</use></rnorm>
153 <snow_level><use>/environment/snow-level-m</use></snow_level>
154 <snow_thickness_factor><use>/environment/surface/snow-thickness-factor</use></snow_thickness_factor>
155 <cloudpos1_x><use>/local-weather/cloud-shadows/cloudpos-x[0]</use></cloudpos1_x>
156 <cloudpos1_y><use>/local-weather/cloud-shadows/cloudpos-y[0]</use></cloudpos1_y>
157 <cloudpos2_x><use>/local-weather/cloud-shadows/cloudpos-x[1]</use></cloudpos2_x>
158 <cloudpos2_y><use>/local-weather/cloud-shadows/cloudpos-y[1]</use></cloudpos2_y>
159 <cloudpos3_x><use>/local-weather/cloud-shadows/cloudpos-x[2]</use></cloudpos3_x>
160 <cloudpos3_y><use>/local-weather/cloud-shadows/cloudpos-y[2]</use></cloudpos3_y>
161 <cloudpos4_x><use>/local-weather/cloud-shadows/cloudpos-x[3]</use></cloudpos4_x>
162 <cloudpos4_y><use>/local-weather/cloud-shadows/cloudpos-y[3]</use></cloudpos4_y>
163 <cloudpos5_x><use>/local-weather/cloud-shadows/cloudpos-x[4]</use></cloudpos5_x>
164 <cloudpos5_y><use>/local-weather/cloud-shadows/cloudpos-y[4]</use></cloudpos5_y>
165 <cloudpos6_x><use>/local-weather/cloud-shadows/cloudpos-x[5]</use></cloudpos6_x>
166 <cloudpos6_y><use>/local-weather/cloud-shadows/cloudpos-y[5]</use></cloudpos6_y>
167 <cloudpos7_x><use>/local-weather/cloud-shadows/cloudpos-x[6]</use></cloudpos7_x>
168 <cloudpos7_y><use>/local-weather/cloud-shadows/cloudpos-y[6]</use></cloudpos7_y>
169 <cloudpos8_x><use>/local-weather/cloud-shadows/cloudpos-x[7]</use></cloudpos8_x>
170 <cloudpos8_y><use>/local-weather/cloud-shadows/cloudpos-y[7]</use></cloudpos8_y>
171 <cloudpos9_x><use>/local-weather/cloud-shadows/cloudpos-x[8]</use></cloudpos9_x>
172 <cloudpos9_y><use>/local-weather/cloud-shadows/cloudpos-y[8]</use></cloudpos9_y>
173 <cloudpos10_x><use>/local-weather/cloud-shadows/cloudpos-x[9]</use></cloudpos10_x>
174 <cloudpos10_y><use>/local-weather/cloud-shadows/cloudpos-y[9]</use></cloudpos10_y>
175 <cloudpos11_x><use>/local-weather/cloud-shadows/cloudpos-x[10]</use></cloudpos11_x>
176 <cloudpos11_y><use>/local-weather/cloud-shadows/cloudpos-y[10]</use></cloudpos11_y>
177 <cloudpos12_x><use>/local-weather/cloud-shadows/cloudpos-x[11]</use></cloudpos12_x>
178 <cloudpos12_y><use>/local-weather/cloud-shadows/cloudpos-y[11]</use></cloudpos12_y>
179 <cloudpos13_x><use>/local-weather/cloud-shadows/cloudpos-x[12]</use></cloudpos13_x>
180 <cloudpos13_y><use>/local-weather/cloud-shadows/cloudpos-y[12]</use></cloudpos13_y>
181 <cloudpos14_x><use>/local-weather/cloud-shadows/cloudpos-x[13]</use></cloudpos14_x>
182 <cloudpos14_y><use>/local-weather/cloud-shadows/cloudpos-y[13]</use></cloudpos14_y>
183 <cloudpos15_x><use>/local-weather/cloud-shadows/cloudpos-x[14]</use></cloudpos15_x>
184 <cloudpos15_y><use>/local-weather/cloud-shadows/cloudpos-y[14]</use></cloudpos15_y>
185 <cloudpos16_x><use>/local-weather/cloud-shadows/cloudpos-x[15]</use></cloudpos16_x>
186 <cloudpos16_y><use>/local-weather/cloud-shadows/cloudpos-y[15]</use></cloudpos16_y>
187 <cloudpos17_x><use>/local-weather/cloud-shadows/cloudpos-x[16]</use></cloudpos17_x>
188 <cloudpos17_y><use>/local-weather/cloud-shadows/cloudpos-y[16]</use></cloudpos17_y>
189 <cloudpos18_x><use>/local-weather/cloud-shadows/cloudpos-x[17]</use></cloudpos18_x>
190 <cloudpos18_y><use>/local-weather/cloud-shadows/cloudpos-y[17]</use></cloudpos18_y>
191 <cloudpos19_x><use>/local-weather/cloud-shadows/cloudpos-x[18]</use></cloudpos19_x>
192 <cloudpos19_y><use>/local-weather/cloud-shadows/cloudpos-y[18]</use></cloudpos19_y>
193 <cloudpos20_x><use>/local-weather/cloud-shadows/cloudpos-x[19]</use></cloudpos20_x>
194 <cloudpos20_y><use>/local-weather/cloud-shadows/cloudpos-y[19]</use></cloudpos20_y>
195 <cloud_shadow_flag><use>/local-weather/cloud-shadows/cloud-shadow-flag</use></cloud_shadow_flag>
196 <building-flag type="int">0</building-flag>
197 <quality_level><use>/sim/rendering/shaders/landmass</use></quality_level>
198 <tquality_level><use>/sim/rendering/shaders/transition</use></tquality_level>
199 <!-- END fog include -->
200 </parameters>
201
202 <!--<generate>
203 <tangent type="int">6</tangent>
204 <binormal type="int">7</binormal>
205 </generate>-->
206
207 <technique n="4">
208 <predicate>
209 <and>
210 <property>/sim/rendering/shaders/skydome</property>
211 <property>/sim/rendering/shaders/model</property>
212 <or>
213 <less-equal>
214 <value type="float">2.0</value>
215 <glversion/>
216 </less-equal>
217 <and>
218 <extension-supported>GL_ARB_shader_objects</extension-supported>
219 <extension-supported>GL_ARB_shading_language_100</extension-supported>
220 <extension-supported>GL_ARB_vertex_shader</extension-supported>
221 <extension-supported>GL_ARB_fragment_shader</extension-supported>
222 </and>
223 </or>
224 </and>
225 </predicate>
226 <pass>
227 <lighting>true</lighting>
228 <material>
229 <active>
230 <use>material/active</use>
231 </active>
232 <ambient>
233 <use>material/ambient</use>
234 </ambient>
235 <diffuse>
236 <use>material/diffuse</use>
237 </diffuse>
238 <specular>
239 <use>material/specular</use>
240 </specular>
241 <emissive>
242 <use>material/emissive</use>
243 </emissive>
244 <shininess>
245 <use>material/shininess</use>
246 </shininess>
247 <color-mode>
248 <use>material/color-mode</use>
249 </color-mode>
250 </material>
251 <blend>
252 <active>
253 <use>blend/active</use>
254 </active>
255 <source>
256 <use>blend/source</use>
257 </source>
258 <destination>
259 <use>blend/destination</use>
260 </destination>
261 </blend>
262 <shade-model>
263 <use>shade-model</use>
264 </shade-model>
265 <cull-face>
266 <use>cull-face</use>
267 </cull-face>
268 <rendering-hint>
269 <use>rendering-hint</use>
270 </rendering-hint>
271 <blend>
272 <use>transparent</use>
273 </blend>
274 <alpha-test>
275 <use>transparent</use>
276 </alpha-test>
277 <render-bin>
278 <bin-number>
279 <use>render-bin/bin-number</use>
280 </bin-number>
281 <bin-name>
282 <use>render-bin/bin-name</use>
283 </bin-name>
284 </render-bin>
285 <!-- Diffuse texture unit-->
286 <texture-unit>
287 <unit>0</unit>
288 <image>
289 <use>texture[0]/image</use>
290 </image>
291 <type>
292 <use>texture[0]/type</use>
293 </type>
294 <filter>
295 <use>texture[0]/filter</use>
296 </filter>
297 <wrap-s>
298 <use>texture[0]/wrap-s</use>
299 </wrap-s>
300 <wrap-t>
301 <use>texture[0]/wrap-t</use>
302 </wrap-t>
303 <internal-format>
304 <use>texture[0]/internal-format</use>
305 </internal-format>
306 </texture-unit>
307 <!-- Reflection Noise texture unit-->
308 <texture-unit>
309 <unit>1</unit>
310 <type>noise</type>
311 </texture-unit>
312 <!-- NormalMap texture unit-->
313 <texture-unit>
314 <unit>2</unit>
315 <image>
316 <use>texture[2]/image</use>
317 </image>
318 <type>
319 <use>texture[2]/type</use>
320 </type>
321 <filter>
322 <use>texture[2]/filter</use>
323 </filter>
324 <wrap-s>
325 <use>texture[2]/wrap-s</use>
326 </wrap-s>
327 <wrap-t>
328 <use>texture[2]/wrap-t</use>
329 </wrap-t>
330 <internal-format>
331 <use>texture[2]/internal-format</use>
332 </internal-format>
333 </texture-unit>
334 <!-- LightMap texture unit-->
335 <texture-unit>
336 <unit>3</unit>
337 <image>
338 <use>texture[3]/image</use>
339 </image>
340 <type>
341 <use>texture[3]/type</use>
342 </type>
343 <filter>
344 <use>texture[3]/filter</use>
345 </filter>
346 <wrap-s>
347 <use>texture[3]/wrap-s</use>
348 </wrap-s>
349 <wrap-t>
350 <use>texture[3]/wrap-t</use>
351 </wrap-t>
352 <internal-format>
353 <use>texture[3]/internal-format</use>
354 </internal-format>
355 </texture-unit>
356 <!-- ReflectMap texture unit-->
357 <texture-unit>
358 <unit>4</unit>
359 <image>
360 <use>texture[4]/image</use>
361 </image>
362 <type>
363 <use>texture[4]/type</use>
364 </type>
365 <filter>
366 <use>texture[4]/filter</use>
367 </filter>
368 <wrap-s>
369 <use>texture[4]/wrap-s</use>
370 </wrap-s>
371 <wrap-t>
372 <use>texture[4]/wrap-t</use>
373 </wrap-t>
374 <internal-format>
375 <use>texture[4]/internal-format</use>
376 </internal-format>
377 </texture-unit>
378 <!-- Reflection CubeMap texture unit-->
379 <texture-unit>
380 <unit>5</unit>
381 <type>
382 <use>texture[5]/type</use>
383 </type>
384 <!-- use this form for a cube cross -->
385 <!--<image>
386 <use>texture[5]/image</use>
387 </image>-->
388 <!-- END CubeCross -->
389 <!-- use this form for a 6 image cube map -->
390 <images>
391 <use>texture[5]/images</use>
392 </images>
393 <!-- END 6 image cube map -->
394 </texture-unit>
395 <!-- Reflection gradients texture unit-->
396 <texture-unit>
397 <unit>6</unit>
398 <image>
399 <use>texture[6]/image</use>
400 </image>
401 <type>
402 <use>texture[6]/type</use>
403 </type>
404 <filter>
405 <use>texture[6]/filter</use>
406 </filter>
407 <wrap-s>
408 <use>texture[6]/wrap-s</use>
409 </wrap-s>
410 <wrap-t>
411 <use>texture[6]/wrap-t</use>
412 </wrap-t>
413 <internal-format>
414 <use>texture[6]/internal-format</use>
415 </internal-format>
416 </texture-unit>
417 <!-- Grain texture -->
418 <texture-unit>
419 <unit>7</unit>
420 <image>
421 <use>texture[7]/image</use>
422 </image>
423 <type>
424 <use>texture[7]/type</use>
425 </type>
426 <filter>
427 <use>texture[7]/filter</use>
428 </filter>
429 <wrap-s>
430 <use>texture[7]/wrap-s</use>
431 </wrap-s>
432 <wrap-t>
433 <use>texture[7]/wrap-t</use>
434 </wrap-t>
435 <internal-format>
436 <use>texture[7]/internal-format</use>
437 </internal-format>
438 </texture-unit>
439
440 <vertex-program-two-side>
441 <use>vertex-program-two-side</use>
442 </vertex-program-two-side>
443
444 <program>
445 <vertex-shader n="0">Shaders/model-ALS-ultra.vert</vertex-shader>
446 <vertex-shader n="1">Shaders/shadows-include.vert</vertex-shader>
447 <fragment-shader n="0">Shaders/model-ALS-ultra.frag</fragment-shader>
448 <fragment-shader n="1">Shaders/cloud-shadowfunc.frag</fragment-shader>
449 <fragment-shader n="2">Shaders/hazes.frag</fragment-shader>
450 <fragment-shader n="3">Shaders/secondary_lights.frag</fragment-shader>
451 <fragment-shader n="4">Shaders/noise.frag</fragment-shader>
452 <fragment-shader n="5">Shaders/filters-ALS.frag</fragment-shader>
453 <fragment-shader n="6">Shaders/shadows-include.frag</fragment-shader>
454 <fragment-shader n="7">Shaders/clustered-include.frag</fragment-shader>
455 </program>
456
457 <uniform>
458 <name>BaseTex</name>
459 <type>sampler-2d</type>
460 <value type="int">0</value>
461 </uniform>
462
463 <uniform>
464 <name>ReflNoiseTex</name>
465 <type>sampler-3d</type>
466 <value type="int">1</value>
467 </uniform>
468
469 <uniform>
470 <name>NormalTex</name>
471 <type>sampler-2d</type>
472 <value type="int">2</value>
473 </uniform>
474
475 <uniform>
476 <name>LightMapTex</name>
477 <type>sampler-2d</type>
478 <value type="int">3</value>
479 </uniform>
480
481 <uniform>
482 <name>ReflMapTex</name>
483 <type>sampler-2d</type>
484 <value type="int">4</value>
485 </uniform>
486
487 <uniform>
488 <name>Environment</name>
489 <type>sampler-cube</type>
490 <value type="int">5</value>
491 </uniform>
492
493 <uniform>
494 <name>ReflGradientsTex</name>
495 <type>sampler-2d</type>
496 <value type="int">6</value>
497 </uniform>
498
499 <uniform>
500 <name>GrainTex</name>
501 <type>sampler-2d</type>
502 <value type="int">7</value>
503 </uniform>
504
505 <!-- NORMAL MAP -->
506 <!-- normalmap is used-->
507 <uniform>
508 <name>nmap_enabled</name>
509 <type>int</type>
510 <value>
511 <use>normalmap-enabled</use>
512 </value>
513 </uniform>
514
515 <!-- normalmap is .dds-->
516 <uniform>
517 <name>nmap_dds</name>
518 <type>int</type>
519 <value>
520 <use>normalmap-dds</use>
521 </value>
522 </uniform>
523
524 <uniform>
525 <name>nmap_tile</name>
526 <type>float</type>
527 <value>
528 <use>normalmap-tiling</use>
529 </value>
530 </uniform>
531
532 <!-- LIGHTMAP -->
533 <!-- lightmap is used -->
534 <uniform>
535 <name>lightmap_enabled</name>
536 <type>int</type>
537 <value>
538 <use>lightmap-enabled</use>
539 </value>
540 </uniform>
541 <!-- lightmap is multichannel -->
542 <uniform>
543 <name>lightmap_multi</name>
544 <type>int</type>
545 <value>
546 <use>lightmap-multi</use>
547 </value>
548 </uniform>
549
550 <uniform>
551 <name>lightmap_r_factor</name>
552 <type>float</type>
553 <value>
554 <use>lightmap-factor[0]</use>
555 </value>
556 </uniform>
557
558 <uniform>
559 <name>lightmap_r_color</name>
560 <type>float-vec3</type>
561 <value>
562 <use>lightmap-color[0]</use>
563 </value>
564 </uniform>
565
566 <uniform>
567 <name>lightmap_g_factor</name>
568 <type>float</type>
569 <value>
570 <use>lightmap-factor[1]</use>
571 </value>
572 </uniform>
573
574 <uniform>
575 <name>lightmap_g_color</name>
576 <type>float-vec3</type>
577 <value>
578 <use>lightmap-color[1]</use>
579 </value>
580 </uniform>
581
582 <uniform>
583 <name>lightmap_b_factor</name>
584 <type>float</type>
585 <value>
586 <use>lightmap-factor[2]</use>
587 </value>
588 </uniform>
589
590 <uniform>
591 <name>lightmap_b_color</name>
592 <type>float-vec3</type>
593 <value>
594 <use>lightmap-color[2]</use>
595 </value>
596 </uniform>
597
598 <uniform>
599 <name>lightmap_a_factor</name>
600 <type>float</type>
601 <value>
602 <use>lightmap-factor[3]</use>
603 </value>
604 </uniform>
605
606 <uniform>
607 <name>lightmap_a_color</name>
608 <type>float-vec3</type>
609 <value>
610 <use>lightmap-color[3]</use>
611 </value>
612 </uniform>
613
614 <uniform>
615 <name>darkmap_factor</name>
616 <type>float</type>
617 <value>
618 <use>darkmap-factor</use>
619 </value>
620 </uniform>
621
622 <!-- reflection is used -->
623 <uniform>
624 <name>refl_enabled</name>
625 <type>int</type>
626 <value>
627 <use>reflection-enabled</use>
628 </value>
629 </uniform>
630 <!-- reflection correction -->
631 <uniform>
632 <name>refl_correction</name>
633 <type>float</type>
634 <value>
635 <use>reflection-correction</use>
636 </value>
637 </uniform>
638
639 <!-- Fresnel reflectivity -->
640 <uniform>
641 <name>refl_fresnel_factor</name>
642 <type>float</type>
643 <value>
644 <use>reflection-fresnel-factor</use>
645 </value>
646 </uniform>
647
648 <!-- use a reflection map-->
649 <uniform>
650 <name>refl_map</name>
651 <type>int</type>
652 <value>
653 <use>reflect-map-enabled</use>
654 </value>
655 </uniform>
656
657 <!-- how are colors merged in a reflection-->
658 <uniform>
659 <name>refl_type</name>
660 <type>int</type>
661 <value>
662 <use>reflection-type</use>
663 </value>
664 </uniform>
665
666
667 <!-- reflection is dynamic -->
668 <uniform>
669 <name>refl_dynamic</name>
670 <type>int</type>
671 <value>
672 <use>reflection-dynamic</use>
673 </value>
674 </uniform>
675
676 <!-- set the amount of fringing colour 0.0 - 1.0 -->
677 <uniform>
678 <name>refl_rainbow</name>
679 <type>float</type>
680 <value>
681 <use>reflection-rainbow</use>
682 </value>
683 </uniform>
684
685 <!-- set the amount of fresnel effect colour 0.0 - 1.0 -->
686 <uniform>
687 <name>refl_fresnel</name>
688 <type>float</type>
689 <value>
690 <use>reflection-fresnel</use>
691 </value>
692 </uniform>
693
694 <!-- set the amount of noisiness 0.0 - 1.0 -->
695 <uniform>
696 <name>refl_noise</name>
697 <type>float</type>
698 <value>
699 <use>reflection-noise</use>
700 </value>
701 </uniform>
702
703 <!-- dirt -->
704 <uniform>
705 <name>dirt_enabled</name>
706 <type>int</type>
707 <value>
708 <use>dirt-enabled</use>
709 </value>
710 </uniform>
711
712 <uniform>
713 <name>dirt_multi</name>
714 <type>int</type>
715 <value>
716 <use>dirt-multi</use>
717 </value>
718 </uniform>
719
720 <uniform>
721 <name>dirt_r_color</name>
722 <type>float-vec3</type>
723 <value>
724 <use>dirt-color[0]</use>
725 </value>
726 </uniform>
727
728 <uniform>
729 <name>dirt_r_factor</name>
730 <type>float</type>
731 <value>
732 <use>dirt-factor[0]</use>
733 </value>
734 </uniform>
735
736 <uniform>
737 <name>dirt_g_color</name>
738 <type>float-vec3</type>
739 <value>
740 <use>dirt-color[1]</use>
741 </value>
742 </uniform>
743
744 <uniform>
745 <name>dirt_g_factor</name>
746 <type>float</type>
747 <value>
748 <use>dirt-factor[1]</use>
749 </value>
750 </uniform>
751
752 <uniform>
753 <name>dirt_b_color</name>
754 <type>float-vec3</type>
755 <value>
756 <use>dirt-color[2]</use>
757 </value>
758 </uniform>
759
760 <uniform>
761 <name>dirt_b_factor</name>
762 <type>float</type>
763 <value>
764 <use>dirt-factor[2]</use>
765 </value>
766 </uniform>
767
768 <uniform>
769 <name>dirt_modulates_reflection</name>
770 <type>int</type>
771 <value>
772 <use>dirt-modulates-reflection</use>
773 </value>
774 </uniform>
775
776 <uniform>
777 <name>dirt_reflection_factor</name>
778 <type>float</type>
779 <value>
780 <use>dirt-reflection-factor</use>
781 </value>
782 </uniform>
783
784
785 <!-- use a grain texture map-->
786 <uniform>
787 <name>grain_texture_enabled</name>
788 <type>int</type>
789 <value>
790 <use>grain-texture-enabled</use>
791 </value>
792 </uniform>
793
794 <uniform>
795 <name>grain_magnification</name>
796 <type>float</type>
797 <value>
798 <use>grain-magnification</use>
799 </value>
800 </uniform>
801
802 <!-- simulate wetness, rain and snow -->
803 <uniform>
804 <name>rain_enabled</name>
805 <type>int</type>
806 <value>
807 <use>rain-enabled</use>
808 </value>
809 </uniform>
810
811 <uniform>
812 <name>snow_enabled</name>
813 <type>int</type>
814 <value>
815 <use>snow-enabled</use>
816 </value>
817 </uniform>
818
819 <uniform>
820 <name>snowlevel</name>
821 <type>float</type>
822 <value><use>snow_level</use></value>
823 </uniform>
824
825 <uniform>
826 <name>snow_thickness_factor</name>
827 <type>float</type>
828 <value><use>snow_thickness_factor</use></value>
829 </uniform>
830
831 <!-- set the amount of ambient light correction 0.0 - 1.0 -->
832 <uniform>
833 <name>amb_correction</name>
834 <type>float</type>
835 <value>
836 <use>ambient-correction</use>
837 </value>
838 </uniform>
839
840 <uniform>
841 <name>hdg</name>
842 <type>float</type>
843 <value>
844 <use>model-hdg</use>
845 </value>
846 </uniform>
847
848 <uniform>
849 <name>pitch</name>
850 <type>float</type>
851 <value>
852 <use>model-pitch</use>
853 </value>
854 </uniform>
855
856 <uniform>
857 <name>roll</name>
858 <type>float</type>
859 <value>
860 <use>model-roll</use>
861 </value>
862 </uniform>
863
864 <!-- BEGIN fog include -->
865 <uniform>
866 <name>visibility</name>
867 <type>float</type>
868 <value>
869 <use>visibility</use>
870 </value>
871 </uniform>
872 <uniform>
873 <name>avisibility</name>
874 <type>float</type>
875 <value>
876 <use>avisibility</use>
877 </value>
878 </uniform>
879 <uniform>
880 <name>hazeLayerAltitude</name>
881 <type>float</type>
882 <value>
883 <use>lthickness</use>
884 </value>
885 </uniform>
886 <uniform>
887 <name>scattering</name>
888 <type>float</type>
889 <value>
890 <use>scattering</use>
891 </value>
892 </uniform>
893 <uniform>
894 <name>terminator</name>
895 <type>float</type>
896 <value>
897 <use>terminator</use>
898 </value>
899 </uniform>
900 <uniform>
901 <name>ground_scattering</name>
902 <type>float</type>
903 <value>
904 <use>ground_scattering</use>
905 </value>
906 </uniform>
907 <uniform>
908 <name>terminator</name>
909 <type>float</type>
910 <value>
911 <use>terminator</use>
912 </value>
913 </uniform>
914 <uniform>
915 <name>terrain_alt</name>
916 <type>float</type>
917 <value>
918 <use>terrain_alt</use>
919 </value>
920 </uniform>
921 <uniform>
922 <name>overcast</name>
923 <type>float</type>
924 <value>
925 <use>overcast</use>
926 </value>
927 </uniform>
928 <uniform>
929 <name>eye_alt</name>
930 <type>float</type>
931 <value>
932 <use>eye_alt</use>
933 </value>
934 </uniform>
935 <uniform>
936 <name>cloud_self_shading</name>
937 <type>float</type>
938 <value><use>cloud_self_shading</use></value>
939 </uniform>
940 <uniform>
941 <name>moonlight</name>
942 <type>float</type>
943 <value><use>moonlight</use></value>
944 </uniform>
945 <uniform>
946 <name>air_pollution</name>
947 <type>float</type>
948 <value><use>air_pollution</use></value>
949 </uniform>
950 <uniform>
951 <name>rain_norm</name>
952 <type>float</type>
953 <value><use>rnorm</use></value>
954 </uniform>
955 <uniform>
956 <name>wetness</name>
957 <type>float</type>
958 <value><use>wetness</use></value>
959 </uniform>
960 <uniform>
961 <name>view_pitch_offset</name>
962 <type>float</type>
963 <value><use>view_pitch_offset</use></value>
964 </uniform>
965 <uniform>
966 <name>view_heading_offset</name>
967 <type>float</type>
968 <value><use>view_heading_offset</use></value>
969 </uniform>
970 <uniform>
971 <name>field_of_view</name>
972 <type>float</type>
973 <value><use>view_fov</use></value>
974 </uniform>
975 <uniform>
976 <name>landing_light1_offset</name>
977 <type>float</type>
978 <value><use>landing_light1_offset</use></value>
979 </uniform>
980 <uniform>
981 <name>landing_light2_offset</name>
982 <type>float</type>
983 <value><use>landing_light2_offset</use></value>
984 </uniform>
985 <uniform>
986 <name>landing_light3_offset</name>
987 <type>float</type>
988 <value><use>landing_light3_offset</use></value>
989 </uniform>
990 <uniform>
991 <name>gamma</name>
992 <type>float</type>
993 <value><use>gamma</use></value>
994 </uniform>
995 <uniform>
996 <name>brightness</name>
997 <type>float</type>
998 <value><use>brightness</use></value>
999 </uniform>
1000 <uniform>
1001 <name>use_filtering</name>
1002 <type>bool</type>
1003 <value><use>use_filtering</use></value>
1004 </uniform>
1005 <uniform>
1006 <name>use_night_vision</name>
1007 <type>bool</type>
1008 <value><use>use_night_vision</use></value>
1009 </uniform>
1010 <uniform>
1011 <name>use_IR_vision</name>
1012 <type>bool</type>
1013 <value><use>use_IR_vision</use></value>
1014 </uniform>
1015 <uniform>
1016 <name>delta_T</name>
1017 <type>float</type>
1018 <value><use>delta_T</use></value>
1019 </uniform>
1020 <uniform>
1021 <name>fact_grey</name>
1022 <type>float</type>
1023 <value><use>fact_grey</use></value>
1024 </uniform>
1025 <uniform>
1026 <name>fact_black</name>
1027 <type>float</type>
1028 <value><use>fact_black</use></value>
1029 </uniform>
1030
1031 <uniform>
1032 <name>quality_level</name>
1033 <type>int</type>
1034 <value><use>quality_level</use></value>
1035 </uniform>
1036 <uniform>
1037 <name>tquality_level</name>
1038 <type>int</type>
1039 <value><use>tquality_level</use></value>
1040 </uniform>
1041
1042 <!-- cloud shadows -->
1043 <uniform>
1044 <name>cloudpos1_x</name>
1045 <type>float</type>
1046 <value><use>cloudpos1_x</use></value>
1047 </uniform>
1048 <uniform>
1049 <name>cloudpos1_y</name>
1050 <type>float</type>
1051 <value><use>cloudpos1_y</use></value>
1052 </uniform>
1053 <uniform>
1054 <name>cloudpos2_x</name>
1055 <type>float</type>
1056 <value><use>cloudpos2_x</use></value>
1057 </uniform>
1058 <uniform>
1059 <name>cloudpos2_y</name>
1060 <type>float</type>
1061 <value><use>cloudpos2_y</use></value>
1062 </uniform>
1063 <uniform>
1064 <name>cloudpos3_x</name>
1065 <type>float</type>
1066 <value><use>cloudpos3_x</use></value>
1067 </uniform>
1068 <uniform>
1069 <name>cloudpos3_y</name>
1070 <type>float</type>
1071 <value><use>cloudpos3_y</use></value>
1072 </uniform>
1073 <uniform>
1074 <name>cloudpos4_x</name>
1075 <type>float</type>
1076 <value><use>cloudpos4_x</use></value>
1077 </uniform>
1078 <uniform>
1079 <name>cloudpos4_y</name>
1080 <type>float</type>
1081 <value><use>cloudpos4_y</use></value>
1082 </uniform>
1083 <uniform>
1084 <name>cloudpos5_x</name>
1085 <type>float</type>
1086 <value><use>cloudpos5_x</use></value>
1087 </uniform>
1088 <uniform>
1089 <name>cloudpos5_y</name>
1090 <type>float</type>
1091 <value><use>cloudpos5_y</use></value>
1092 </uniform>
1093 <uniform>
1094 <name>cloudpos6_x</name>
1095 <type>float</type>
1096 <value><use>cloudpos6_x</use></value>
1097 </uniform>
1098 <uniform>
1099 <name>cloudpos6_y</name>
1100 <type>float</type>
1101 <value><use>cloudpos6_y</use></value>
1102 </uniform>
1103 <uniform>
1104 <name>cloudpos7_x</name>
1105 <type>float</type>
1106 <value><use>cloudpos7_x</use></value>
1107 </uniform>
1108 <uniform>
1109 <name>cloudpos7_y</name>
1110 <type>float</type>
1111 <value><use>cloudpos7_y</use></value>
1112 </uniform>
1113 <uniform>
1114 <name>cloudpos8_x</name>
1115 <type>float</type>
1116 <value><use>cloudpos8_x</use></value>
1117 </uniform>
1118 <uniform>
1119 <name>cloudpos8_y</name>
1120 <type>float</type>
1121 <value><use>cloudpos8_y</use></value>
1122 </uniform>
1123 <uniform>
1124 <name>cloudpos9_x</name>
1125 <type>float</type>
1126 <value><use>cloudpos9_x</use></value>
1127 </uniform>
1128 <uniform>
1129 <name>cloudpos9_y</name>
1130 <type>float</type>
1131 <value><use>cloudpos9_y</use></value>
1132 </uniform>
1133 <uniform>
1134 <name>cloudpos10_x</name>
1135 <type>float</type>
1136 <value><use>cloudpos10_x</use></value>
1137 </uniform>
1138 <uniform>
1139 <name>cloudpos10_y</name>
1140 <type>float</type>
1141 <value><use>cloudpos10_y</use></value>
1142 </uniform>
1143 <uniform>
1144 <name>cloudpos11_x</name>
1145 <type>float</type>
1146 <value><use>cloudpos11_x</use></value>
1147 </uniform>
1148 <uniform>
1149 <name>cloudpos11_y</name>
1150 <type>float</type>
1151 <value><use>cloudpos11_y</use></value>
1152 </uniform>
1153 <uniform>
1154 <name>cloudpos12_x</name>
1155 <type>float</type>
1156 <value><use>cloudpos12_x</use></value>
1157 </uniform>
1158 <uniform>
1159 <name>cloudpos12_y</name>
1160 <type>float</type>
1161 <value><use>cloudpos12_y</use></value>
1162 </uniform>
1163 <uniform>
1164 <name>cloudpos13_x</name>
1165 <type>float</type>
1166 <value><use>cloudpos13_x</use></value>
1167 </uniform>
1168 <uniform>
1169 <name>cloudpos13_y</name>
1170 <type>float</type>
1171 <value><use>cloudpos13_y</use></value>
1172 </uniform>
1173 <uniform>
1174 <name>cloudpos14_x</name>
1175 <type>float</type>
1176 <value><use>cloudpos14_x</use></value>
1177 </uniform>
1178 <uniform>
1179 <name>cloudpos14_y</name>
1180 <type>float</type>
1181 <value><use>cloudpos14_y</use></value>
1182 </uniform>
1183 <uniform>
1184 <name>cloudpos15_x</name>
1185 <type>float</type>
1186 <value><use>cloudpos15_x</use></value>
1187 </uniform>
1188 <uniform>
1189 <name>cloudpos15_y</name>
1190 <type>float</type>
1191 <value><use>cloudpos15_y</use></value>
1192 </uniform>
1193 <uniform>
1194 <name>cloudpos16_x</name>
1195 <type>float</type>
1196 <value><use>cloudpos16_x</use></value>
1197 </uniform>
1198 <uniform>
1199 <name>cloudpos16_y</name>
1200 <type>float</type>
1201 <value><use>cloudpos16_y</use></value>
1202 </uniform>
1203 <uniform>
1204 <name>cloudpos17_x</name>
1205 <type>float</type>
1206 <value><use>cloudpos17_x</use></value>
1207 </uniform>
1208 <uniform>
1209 <name>cloudpos17_y</name>
1210 <type>float</type>
1211 <value><use>cloudpos17_y</use></value>
1212 </uniform>
1213 <uniform>
1214 <name>cloudpos18_x</name>
1215 <type>float</type>
1216 <value><use>cloudpos18_x</use></value>
1217 </uniform>
1218 <uniform>
1219 <name>cloudpos18_y</name>
1220 <type>float</type>
1221 <value><use>cloudpos18_y</use></value>
1222 </uniform>
1223 <uniform>
1224 <name>cloudpos19_x</name>
1225 <type>float</type>
1226 <value><use>cloudpos19_x</use></value>
1227 </uniform>
1228 <uniform>
1229 <name>cloudpos19_y</name>
1230 <type>float</type>
1231 <value><use>cloudpos19_y</use></value>
1232 </uniform>
1233 <uniform>
1234 <name>cloudpos20_x</name>
1235 <type>float</type>
1236 <value><use>cloudpos20_x</use></value>
1237 </uniform>
1238 <uniform>
1239 <name>cloudpos20_y</name>
1240 <type>float</type>
1241 <value><use>cloudpos20_y</use></value>
1242 </uniform>
1243 <uniform>
1244 <name>cloud_shadow_flag</name>
1245 <type>int</type>
1246 <value><use>cloud_shadow_flag</use></value>
1247 </uniform>
1248 <uniform>
1249 <name>use_searchlight</name>
1250 <type>int</type>
1251 <value><use>use_searchlight</use></value>
1252 </uniform>
1253 <uniform>
1254 <name>use_landing_light</name>
1255 <type>int</type>
1256 <value><use>use_landing_light</use></value>
1257 </uniform>
1258 <uniform>
1259 <name>use_alt_landing_light</name>
1260 <type>int</type>
1261 <value><use>use_alt_landing_light</use></value>
1262 </uniform>
1263 <uniform>
1264 <name>display_xsize</name>
1265 <type>int</type>
1266 <value><use>display_xsize</use></value>
1267 </uniform>
1268 <uniform>
1269 <name>display_ysize</name>
1270 <type>int</type>
1271 <value><use>display_ysize</use></value>
1272 </uniform>
1273 <uniform>
1274 <name>darkmap_enabled</name>
1275 <type>int</type>
1276 <value><use>darkmap-enabled</use></value>
1277 </uniform>
1278 <uniform>
1279 <name>building_flag</name>
1280 <type>int</type>
1281 <value><use>building-flag</use></value>
1282 </uniform>
1283
1284 <!-- END fog include -->
1285 <!-- BEGIN shadows include -->
1286 <uniform>
1287 <name>shadow_tex</name>
1288 <type>sampler-2d</type>
1289 <value type="int">10</value>
1290 </uniform>
1291 <uniform>
1292 <name>shadows_enabled</name>
1293 <type>bool</type>
1294 <value>
1295 <use>shadows_enabled</use>
1296 </value>
1297 </uniform>
1298 <uniform>
1299 <name>sun_atlas_size</name>
1300 <type>int</type>
1301 <value>
1302 <use>sun_atlas_size</use>
1303 </value>
1304 </uniform>
1305 <!-- END shadows include -->
1306 </pass>
1307 </technique>
1308
1309 <technique n="7">
1310 <predicate><value type="bool">false</value></predicate>
1311 </technique>
1312 <technique n="9">
1313 <predicate><value type="bool">false</value></predicate>
1314 </technique>
1315 </PropertyList>