Debian Codegraph @

Effects/bowwave.eff

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <PropertyList>
3 <name>Effects/bowwave</name>
4 <inherits-from>Effects/model-default</inherits-from>
5 <parameters>
6 <texture n="0">
7 <image>/Textures/Water/water-reflection.png</image>
8 <type>2d</type>
9 <filter>linear-mipmap-linear</filter>
10 <wrap-s>repeat</wrap-s>
11 <wrap-t>repeat</wrap-t>
12 <internal-format>normalized</internal-format>
13 </texture>
14 <texture n="2">
15 <image>/Textures/Water/perlin-noise-nm.dds</image>
16 <type>2d</type>
17 <filter>linear-mipmap-linear</filter>
18 <wrap-s>repeat</wrap-s>
19 <wrap-t>repeat</wrap-t>
20 <internal-format>normalized</internal-format>
21 </texture>
22 <texture n="3">
23 <image>/Textures/Water/waves-ver10-dudv.dds</image>
24 <type>2d</type>
25 <filter>linear-mipmap-linear</filter>
26 <wrap-s>repeat</wrap-s>
27 <wrap-t>repeat</wrap-t>
28 <internal-format>normalized</internal-format>
29 </texture>
30 <texture n="4">
31 <image>/Textures/Water/water-reflection-grey.png</image>
32 <type>2d</type>
33 <filter>linear-mipmap-linear</filter>
34 <wrap-s>repeat</wrap-s>
35 <wrap-t>repeat</wrap-t>
36 <internal-format>normalized</internal-format>
37 </texture>
38 <texture n="5">
39 <image>/Textures/Water/sea_foam.dds</image>
40 <type>2d</type>
41 <filter>linear-mipmap-linear</filter>
42 <wrap-s>repeat</wrap-s>
43 <wrap-t>repeat</wrap-t>
44 <internal-format>normalized</internal-format>
45 </texture>
46 <texture n="6">
47 <image>/Textures/Water/bowwave3.dds</image>
48 <type>2d</type>
49 <filter>linear-mipmap-linear</filter>
50 <wrap-s>repeat</wrap-s>
51 <wrap-t>repeat</wrap-t>
52 <internal-format>normalized</internal-format>
53 </texture>
54 <texture n="7">
55 <image>/Textures/Water/bowwave_normal.dds</image>
56 <type>2d</type>
57 <filter>linear-mipmap-linear</filter>
58 <wrap-s>repeat</wrap-s>
59 <wrap-t>repeat</wrap-t>
60 <internal-format>normalized</internal-format>
61 </texture>
62 <saturation>
63 <use>/rendering/scene/saturation</use>
64 </saturation>
65 <status>
66 <use>/environment/config/enabled</use>
67 </status>
68 <overcast>
69 <use>/rendering/scene/overcast</use>
70 </overcast>
71 <cloud-cover0>
72 <use>/environment/clouds/layer[0]/coverage-type</use>
73 </cloud-cover0>
74 <cloud-cover1>
75 <use>/environment/clouds/layer[1]/coverage-type</use>
76 </cloud-cover1>
77 <cloud-cover2>
78 <use>/environment/clouds/layer[2]/coverage-type</use>
79 </cloud-cover2>
80 <cloud-cover3>
81 <use>/environment/clouds/layer[3]/coverage-type</use>
82 </cloud-cover3>
83 <cloud-cover4>
84 <use>/environment/clouds/layer[4]/coverage-type</use>
85 </cloud-cover4>
86 <windE>
87 <use>/environment/sea/surface/wind-from-east-fps</use>
88 </windE>
89 <windN>
90 <use>/environment/sea/surface/wind-from-north-fps</use>
91 </windN>
92 <speed-kt>
93 <use>/environment/Vinson/spd-kt</use>
94 </speed-kt>
95 <heading-deg>
96 <use>/environment/Vinson/hdg-deg</use>
97 </heading-deg>
98 <shade-model>smooth</shade-model>
99 <rendering-hint>transparent</rendering-hint>
100 <transparent>true</transparent>
101 <render-bin>
102 <bin-number type="int">6</bin-number>
103 <bin-name>DepthSortedBin</bin-name>
104 </render-bin>
105
106 <!-- fog include -->
107 <visibility>
108 <use>/environment/ground-visibility-m</use>
109 </visibility>
110 <avisibility>
111 <use>/environment/visibility-m</use>
112 </avisibility>
113 <lthickness>
114 <use>/environment/ground-haze-thickness-m</use>
115 </lthickness>
116 <scattering>
117 <use>/rendering/scene/scattering</use>
118 </scattering>
119 <ground_scattering>
120 <use>/environment/surface/scattering</use>
121 </ground_scattering>
122 <terminator>
123 <use>/environment/terminator-relative-position-m</use>
124 </terminator>
125 <terrain_alt>
126 <use>/environment/mean-terrain-elevation-m</use>
127 </terrain_alt>
128 <overcast>
129 <use>/rendering/scene/overcast</use>
130 </overcast>
131 <eye_alt>
132 <use>/sim/rendering/eye-altitude-m</use>
133 </eye_alt>
134 <cloud_self_shading>
135 <use>/environment/cloud-self-shading</use>
136 </cloud_self_shading>
137 <moonlight>
138 <use>/environment/moonlight</use>
139 </moonlight>
140 <fogtype>
141 <use>/sim/rendering/shaders/skydome</use>
142 </fogtype>
143 <quality_level>
144 <use>/sim/rendering/shaders/landmass</use>
145 </quality_level>
146 <!-- sea colors -->
147 <sea_r><use>/environment/sea/color_r</use></sea_r>
148 <sea_g><use>/environment/sea/color_g</use></sea_g>
149 <sea_b><use>/environment/sea/color_b</use></sea_b>
150 <!-- END fog include -->
151 </parameters>
152
153 <technique n="5">
154 <predicate>
155 <and>
156 <property>/sim/rendering/shaders/skydome</property>
157 <less-equal>
158 <value type="float">2.0</value>
159 <float-property>/sim/rendering/shaders/water</float-property>
160 </less-equal>
161 <or>
162 <less-equal>
163 <value type="float">2.0</value>
164 <glversion/>
165 </less-equal>
166 <and>
167 <extension-supported>GL_ARB_shader_objects</extension-supported>
168 <extension-supported>GL_ARB_shading_language_100</extension-supported>
169 <extension-supported>GL_ARB_vertex_shader</extension-supported>
170 <extension-supported>GL_ARB_fragment_shader</extension-supported>
171 </and>
172 </or>
173 </and>
174 </predicate>
175 <pass>
176 <lighting>true</lighting>
177 <material>
178 <active>
179 <use>material/active</use>
180 </active>
181 <ambient>
182 <use>material/ambient</use>
183 </ambient>
184 <diffuse>
185 <use>material/diffuse</use>
186 </diffuse>
187 <specular>
188 <use>material/specular</use>
189 </specular>
190 <emissive>
191 <use>material/emissive</use>
192 </emissive>
193 <shininess>
194 <use>material/shininess</use>
195 </shininess>
196 <color-mode>
197 <use>material/color-mode</use>
198 </color-mode>
199 </material>
200 <blend>
201 <active>
202 <use>blend/active</use>
203 </active>
204 <source>
205 <use>blend/source</use>
206 </source>
207 <destination>
208 <use>blend/destination</use>
209 </destination>
210 </blend>
211 <shade-model>
212 <use>shade-model</use>
213 </shade-model>
214 <cull-face>
215 <use>cull-face</use>
216 </cull-face>
217 <rendering-hint>
218 <use>rendering-hint</use>
219 </rendering-hint>
220 <texture-unit>
221 <unit>0</unit>
222 <image>
223 <use>texture[0]/image</use>
224 </image>
225 <type>
226 <use>texture[0]/type</use>
227 </type>
228 <filter>
229 <use>texture[0]/filter</use>
230 </filter>
231 <wrap-s>
232 <use>texture[0]/wrap-s</use>
233 </wrap-s>
234 <wrap-t>
235 <use>texture[0]/wrap-t</use>
236 </wrap-t>
237 <internal-format>
238 <use>texture[0]/internal-format</use>
239 </internal-format>
240 </texture-unit>
241 <texture-unit>
242 <unit>1</unit>
243 <type>noise</type>
244 </texture-unit>
245 <texture-unit>
246 <unit>2</unit>
247 <image>
248 <use>texture[2]/image</use>
249 </image>
250 <type>
251 <use>texture[2]/type</use>
252 </type>
253 <filter>
254 <use>texture[2]/filter</use>
255 </filter>
256 <wrap-s>
257 <use>texture[2]/wrap-s</use>
258 </wrap-s>
259 <wrap-t>
260 <use>texture[2]/wrap-t</use>
261 </wrap-t>
262 <internal-format>
263 <use>texture[2]/internal-format</use>
264 </internal-format>
265 </texture-unit>
266 <texture-unit>
267 <unit>3</unit>
268 <image>
269 <use>texture[3]/image</use>
270 </image>
271 <type>
272 <use>texture[3]/type</use>
273 </type>
274 <filter>
275 <use>texture[3]/filter</use>
276 </filter>
277 <wrap-s>
278 <use>texture[3]/wrap-s</use>
279 </wrap-s>
280 <wrap-t>
281 <use>texture[3]/wrap-t</use>
282 </wrap-t>
283 <internal-format>
284 <use>texture[3]/internal-format</use>
285 </internal-format>
286 </texture-unit>
287 <texture-unit>
288 <unit>4</unit>
289 <image>
290 <use>texture[4]/image</use>
291 </image>
292 <type>
293 <use>texture[4]/type</use>
294 </type>
295 <filter>
296 <use>texture[4]/filter</use>
297 </filter>
298 <wrap-s>
299 <use>texture[4]/wrap-s</use>
300 </wrap-s>
301 <wrap-t>
302 <use>texture[4]/wrap-t</use>
303 </wrap-t>
304 <internal-format>
305 <use>texture[4]/internal-format</use>
306 </internal-format>
307 </texture-unit>
308 <texture-unit>
309 <unit>5</unit>
310 <image>
311 <use>texture[5]/image</use>
312 </image>
313 <type>
314 <use>texture[5]/type</use>
315 </type>
316 <filter>
317 <use>texture[5]/filter</use>
318 </filter>
319 <wrap-s>
320 <use>texture[5]/wrap-s</use>
321 </wrap-s>
322 <wrap-t>
323 <use>texture[5]/wrap-t</use>
324 </wrap-t>
325 <internal-format>
326 <use>texture[5]/internal-format</use>
327 </internal-format>
328 </texture-unit>
329 <texture-unit>
330 <unit>6</unit>
331 <image>
332 <use>texture[6]/image</use>
333 </image>
334 <type>
335 <use>texture[6]/type</use>
336 </type>
337 <filter>
338 <use>texture[6]/filter</use>
339 </filter>
340 <wrap-s>
341 <use>texture[6]/wrap-s</use>
342 </wrap-s>
343 <wrap-t>
344 <use>texture[6]/wrap-t</use>
345 </wrap-t>
346 <internal-format>
347 <use>texture[6]/internal-format</use>
348 </internal-format>
349 </texture-unit>
350 <texture-unit>
351 <unit>7</unit>
352 <image>
353 <use>texture[7]/image</use>
354 </image>
355 <type>
356 <use>texture[7]/type</use>
357 </type>
358 <filter>
359 <use>texture[7]/filter</use>
360 </filter>
361 <wrap-s>
362 <use>texture[7]/wrap-s</use>
363 </wrap-s>
364 <wrap-t>
365 <use>texture[7]/wrap-t</use>
366 </wrap-t>
367 <internal-format>
368 <use>texture[7]/internal-format</use>
369 </internal-format>
370 </texture-unit>
371
372 <program>
373 <vertex-shader n="0">Shaders/wake-ALS.vert</vertex-shader>
374 <fragment-shader n="0">Shaders/bowwave-ALS.frag</fragment-shader>
375 </program>
376 <uniform>
377 <name>water_reflection</name>
378 <type>sampler-2d</type>
379 <value type="int">0</value>
380 </uniform>
381 <uniform>
382 <name>water_normalmap</name>
383 <type>sampler-2d</type>
384 <value type="int">2</value>
385 </uniform>
386 <uniform>
387 <name>water_dudvmap</name>
388 <type>sampler-2d</type>
389 <value type="int">3</value>
390 </uniform>
391 <uniform>
392 <name>water_reflection_grey</name>
393 <type>sampler-2d</type>
394 <value type="int">4</value>
395 </uniform>
396 <uniform>
397 <name>sea_foam</name>
398 <type>sampler-2d</type>
399 <value type="int">5</value>
400 </uniform>
401 <uniform>
402 <name>alpha_tex</name>
403 <type>sampler-2d</type>
404 <value type="int">6</value>
405 </uniform>
406 <uniform>
407 <name>bowwave_nmap</name>
408 <type>sampler-2d</type>
409 <value type="int">7</value>
410 </uniform>
411 <uniform>
412 <name>saturation</name>
413 <type>float</type>
414 <!--<value>0.4</value>-->
415 <value>
416 <use>saturation</use>
417 </value>
418 </uniform>
419 <uniform>
420 <name>Status</name>
421 <type>int</type>
422 <value>
423 <use>status</use>
424 </value>
425 <!--<value type="int">0</value> -->
426 </uniform>
427 <uniform>
428 <name>Overcast</name>
429 <type>float</type>
430 <value>
431 <use>overcast</use>
432 </value>
433 </uniform>
434 <uniform>
435 <name>WindE</name>
436 <type>float</type>
437 <value>
438 <use>windE</use>
439 </value>
440 </uniform>
441 <uniform>
442 <name>WindN</name>
443 <type>float</type>
444 <value>
445 <use>windN</use>
446 </value>
447 </uniform>
448 <uniform>
449 <name>spd</name>
450 <type>float</type>
451 <value><use>speed-kt</use></value>
452 </uniform>
453 <uniform>
454 <name>hdg</name>
455 <type>float</type>
456 <value>
457 <use>heading-deg</use>
458 </value>
459 </uniform>
460 <uniform>
461 <name>Noise</name>
462 <type>sampler-3d</type>
463 <value type="int">1</value>
464 </uniform>
465
466 <!-- BEGIN fog include -->
467 <uniform>
468 <name>visibility</name>
469 <type>float</type>
470 <value>
471 <use>visibility</use>
472 </value>
473 </uniform>
474 <uniform>
475 <name>avisibility</name>
476 <type>float</type>
477 <value>
478 <use>avisibility</use>
479 </value>
480 </uniform>
481 <uniform>
482 <name>hazeLayerAltitude</name>
483 <type>float</type>
484 <value>
485 <use>lthickness</use>
486 </value>
487 </uniform>
488 <uniform>
489 <name>scattering</name>
490 <type>float</type>
491 <value>
492 <use>scattering</use>
493 </value>
494 </uniform>
495 <uniform>
496 <name>ground_scattering</name>
497 <type>float</type>
498 <value>
499 <use>ground_scattering</use>
500 </value>
501 </uniform>
502 <uniform>
503 <name>terminator</name>
504 <type>float</type>
505 <value>
506 <use>terminator</use>
507 </value>
508 </uniform>
509 <uniform>
510 <name>terrain_alt</name>
511 <type>float</type>
512 <value>
513 <use>terrain_alt</use>
514 </value>
515 </uniform>
516 <uniform>
517 <name>overcast</name>
518 <type>float</type>
519 <value>
520 <use>overcast</use>
521 </value>
522 </uniform>
523 <uniform>
524 <name>eye_alt</name>
525 <type>float</type>
526 <value>
527 <use>eye_alt</use>
528 </value>
529 </uniform>
530 <uniform>
531 <name>cloud_self_shading</name>
532 <type>float</type>
533 <value><use>cloud_self_shading</use></value>
534 </uniform>
535
536 <!-- filtering -->
537 <uniform>
538 <name>gamma</name>
539 <type>float</type>
540 <value><use>gamma</use></value>
541 </uniform>
542 <uniform>
543 <name>brightness</name>
544 <type>float</type>
545 <value><use>brightness</use></value>
546 </uniform>
547 <uniform>
548 <name>use_filtering</name>
549 <type>bool</type>
550 <value><use>use_filtering</use></value>
551 </uniform>
552 <uniform>
553 <name>use_night_vision</name>
554 <type>bool</type>
555 <value><use>use_night_vision</use></value>
556 </uniform>
557 <uniform>
558 <name>use_IR_vision</name>
559 <type>bool</type>
560 <value><use>use_IR_vision</use></value>
561 </uniform>
562 <uniform>
563 <name>delta_T</name>
564 <type>float</type>
565 <value><use>delta_T</use></value>
566 </uniform>
567 <uniform>
568 <name>fact_grey</name>
569 <type>float</type>
570 <value><use>fact_grey</use></value>
571 </uniform>
572 <uniform>
573 <name>fact_black</name>
574 <type>float</type>
575 <value><use>fact_black</use></value>
576 </uniform>
577
578 <!-- sea colors -->
579 <uniform>
580 <name>sea_r</name>
581 <type>float</type>
582 <value>
583 <use>sea_r</use>
584 </value>
585 </uniform>
586 <uniform>
587 <name>sea_g</name>
588 <type>float</type>
589 <value>
590 <use>sea_g</use>
591 </value>
592 </uniform>
593 <uniform>
594 <name>sea_b</name>
595 <type>float</type>
596 <value>
597 <use>sea_b</use>
598 </value>
599 </uniform>
600 <uniform>
601 <name>quality_level</name>
602 <type>int</type>
603 <value><use>quality_level</use></value>
604 </uniform>
605 <!-- END fog include -->
606 </pass>
607 </technique>
608 </PropertyList>