2021-03-20 21:52:36 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<name>Effects/ws30water</name>
|
2021-05-08 19:41:58 +00:00
|
|
|
<inherits-from>Effects/water</inherits-from>
|
|
|
|
<technique n="1">
|
|
|
|
<pass n="0">
|
|
|
|
<!-- Hardcoded texture unit as we don't do a material lookup -->
|
2021-03-20 21:52:36 +00:00
|
|
|
<texture-unit>
|
2021-05-08 19:41:58 +00:00
|
|
|
<unit>0</unit>
|
|
|
|
<type>2d</type>
|
|
|
|
<image>Textures/Terrain/water.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
2021-03-20 21:52:36 +00:00
|
|
|
</texture-unit>
|
|
|
|
</pass>
|
|
|
|
</technique>
|
2021-05-08 19:41:58 +00:00
|
|
|
<technique n="2">
|
|
|
|
<pass n="0">
|
2021-03-20 21:52:36 +00:00
|
|
|
<!-- Hardcoded texture unit as we don't do a material lookup -->
|
|
|
|
<texture-unit>
|
|
|
|
<unit>0</unit>
|
|
|
|
<type>2d</type>
|
|
|
|
<image>Textures/Terrain/water.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
|
|
|
</texture-unit>
|
|
|
|
</pass>
|
|
|
|
</technique>
|
2021-05-08 19:41:58 +00:00
|
|
|
<technique n="3">
|
|
|
|
<pass n="0">
|
2021-03-20 21:52:36 +00:00
|
|
|
<!-- Hardcoded texture unit as we don't do a material lookup -->
|
|
|
|
<texture-unit>
|
|
|
|
<unit>0</unit>
|
|
|
|
<type>2d</type>
|
|
|
|
<image>Textures/Terrain/water.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
|
|
|
</texture-unit>
|
2021-05-08 19:41:58 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
<technique n="4">
|
|
|
|
<pass n="0">
|
|
|
|
<!-- Hardcoded texture unit as we don't do a material lookup -->
|
2021-03-20 21:52:36 +00:00
|
|
|
<texture-unit>
|
2021-05-08 19:41:58 +00:00
|
|
|
<unit>0</unit>
|
|
|
|
<type>2d</type>
|
|
|
|
<image>Textures/Terrain/water.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
2021-03-20 21:52:36 +00:00
|
|
|
</texture-unit>
|
2021-05-08 19:41:58 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
<technique n="5">
|
|
|
|
<pass n="0">
|
|
|
|
<!-- Hardcoded texture unit as we don't do a material lookup -->
|
2021-03-20 21:52:36 +00:00
|
|
|
<texture-unit>
|
2021-05-08 19:41:58 +00:00
|
|
|
<unit>0</unit>
|
|
|
|
<type>2d</type>
|
|
|
|
<image>Textures/Terrain/water.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
2021-03-20 21:52:36 +00:00
|
|
|
</texture-unit>
|
2021-05-08 19:41:58 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
<technique n="11">
|
|
|
|
<pass n="0">
|
|
|
|
<!-- Hardcoded texture unit as we don't do a material lookup -->
|
2021-05-07 13:39:48 +00:00
|
|
|
<texture-unit>
|
2021-05-08 19:41:58 +00:00
|
|
|
<unit>0</unit>
|
|
|
|
<type>2d</type>
|
|
|
|
<image>Textures/Terrain/water.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
2021-05-07 13:39:48 +00:00
|
|
|
</texture-unit>
|
2021-03-20 21:52:36 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
<technique n="12">
|
2021-05-08 19:41:58 +00:00
|
|
|
<pass n="0">
|
2021-03-20 21:52:36 +00:00
|
|
|
<!-- Hardcoded texture unit as we don't do a material lookup -->
|
|
|
|
<texture-unit>
|
|
|
|
<unit>0</unit>
|
|
|
|
<type>2d</type>
|
|
|
|
<image>Textures/Terrain/water.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
|
|
|
</texture-unit>
|
|
|
|
</pass>
|
|
|
|
</technique>
|
2021-07-24 11:35:53 +00:00
|
|
|
|
|
|
|
<technique n="109">
|
|
|
|
<scheme>hdr-geometry</scheme>
|
|
|
|
<pass>
|
2021-08-17 18:58:30 +00:00
|
|
|
<!-- Reverse floating point depth buffer -->
|
|
|
|
<depth>
|
|
|
|
<function>gequal</function>
|
|
|
|
<near>1.0</near>
|
|
|
|
<far>0.0</far>
|
|
|
|
</depth>
|
2021-08-23 10:44:26 +00:00
|
|
|
<stencil>
|
|
|
|
<function>always</function>
|
|
|
|
<value>3</value>
|
|
|
|
<pass>replace</pass>
|
|
|
|
</stencil>
|
2021-08-17 18:58:30 +00:00
|
|
|
|
2021-07-24 11:35:53 +00:00
|
|
|
<blend><use>transparent</use></blend>
|
|
|
|
<alpha-test><use>transparent</use></alpha-test>
|
|
|
|
<shade-model>smooth</shade-model>
|
|
|
|
<cull-face>back</cull-face>
|
|
|
|
<render-bin>
|
|
|
|
<bin-number><use>render-bin/bin-number</use></bin-number>
|
|
|
|
<bin-name><use>render-bin/bin-name</use></bin-name>
|
|
|
|
</render-bin>
|
|
|
|
<texture-unit>
|
|
|
|
<unit>0</unit>
|
|
|
|
<type>2d</type>
|
|
|
|
<image>Textures/Terrain/water.png</image>
|
|
|
|
<filter>linear-mipmap-linear</filter>
|
|
|
|
<wrap-s>repeat</wrap-s>
|
|
|
|
<wrap-t>repeat</wrap-t>
|
|
|
|
<environment>
|
|
|
|
<mode>modulate</mode>
|
|
|
|
</environment>
|
|
|
|
</texture-unit>
|
|
|
|
<program>
|
|
|
|
<vertex-shader>Shaders/HDR/geometry.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/geometry.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/gbuffer-include.frag</fragment-shader>
|
|
|
|
</program>
|
|
|
|
<uniform>
|
|
|
|
<name>color_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
|
|
|
</pass>
|
|
|
|
</technique>
|
2021-03-20 21:52:36 +00:00
|
|
|
</PropertyList>
|