Debian Codegraph @

Effects/model-wingflex.eff

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