| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<PropertyList> |
| 3 |
<name>Effects/ws30-water</name> |
| 4 |
<inherits-from>Effects/ws30</inherits-from> |
| 5 |
<!-- |
| 6 |
ALS ultra shaders. |
| 7 |
--> |
| 8 |
|
| 9 |
<technique n="5"> |
| 10 |
<pass n="0"> |
| 11 |
<program n="0"> |
| 12 |
<fragment-shader n="0">Shaders/ws30-water-ALS-ultra.frag</fragment-shader> |
| 13 |
</program> |
| 14 |
</pass> |
| 15 |
</technique> |
| 16 |
|
| 17 |
<!-- ALS High and Medium settings technique. |
| 18 |
Uses quality_level and tquality_level uniforms to change quality in fragment shader. |
| 19 |
--> |
| 20 |
|
| 21 |
<technique n="6"> |
| 22 |
<pass n="0"> |
| 23 |
<program n="0"> |
| 24 |
<fragment-shader n="0">Shaders/ws30-water-ALS-detailed.frag</fragment-shader> |
| 25 |
</program> |
| 26 |
</pass> |
| 27 |
</technique> |
| 28 |
|
| 29 |
<!-- ALS low settings technique --> |
| 30 |
|
| 31 |
<technique n="7"> |
| 32 |
<pass n="0"> |
| 33 |
<program n="0"> |
| 34 |
<fragment-shader n="0">Shaders/ws30-water-ALS.frag</fragment-shader> |
| 35 |
</program> |
| 36 |
</pass> |
| 37 |
</technique> |
| 38 |
|
| 39 |
<!-- Non-ALS technique with texture rotation --> |
| 40 |
<technique n="11"> |
| 41 |
<pass n="0"> |
| 42 |
<!-- Hardcoded texture unit as we don't do a material lookup --> |
| 43 |
<texture-unit> |
| 44 |
<unit>0</unit> |
| 45 |
<type>2d</type> |
| 46 |
<image>Textures/Terrain/water.png</image> |
| 47 |
<filter>linear-mipmap-linear</filter> |
| 48 |
<wrap-s>repeat</wrap-s> |
| 49 |
<wrap-t>repeat</wrap-t> |
| 50 |
<environment> |
| 51 |
<mode>modulate</mode> |
| 52 |
</environment> |
| 53 |
</texture-unit> |
| 54 |
|
| 55 |
<program n="0"> |
| 56 |
<!-- Note different index --> |
| 57 |
<fragment-shader n="1">Shaders/ws30-water-q1.frag</fragment-shader> |
| 58 |
</program> |
| 59 |
</pass> |
| 60 |
</technique> |
| 61 |
|
| 62 |
<!-- Minimal technique --> |
| 63 |
<technique n="12"> |
| 64 |
<pass n="0"> |
| 65 |
<!-- Hardcoded texture unit as we don't do a material lookup --> |
| 66 |
<texture-unit> |
| 67 |
<unit>0</unit> |
| 68 |
<type>2d</type> |
| 69 |
<image>Textures/Terrain/water.png</image> |
| 70 |
<filter>linear-mipmap-linear</filter> |
| 71 |
<wrap-s>repeat</wrap-s> |
| 72 |
<wrap-t>repeat</wrap-t> |
| 73 |
<environment> |
| 74 |
<mode>modulate</mode> |
| 75 |
</environment> |
| 76 |
</texture-unit> |
| 77 |
|
| 78 |
<program n="0"> |
| 79 |
<!-- Note different index --> |
| 80 |
<fragment-shader n="1">Shaders/ws30-water-q1.frag</fragment-shader> |
| 81 |
</program> |
| 82 |
</pass> |
| 83 |
</technique> |
| 84 |
|
| 85 |
|
| 86 |
</PropertyList> |