2021-08-25 02:17:09 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
2023-04-07 06:17:37 +00:00
|
|
|
<name>Effects/HDR/water-shading</name>
|
2023-04-12 20:50:03 +00:00
|
|
|
<parameters>
|
|
|
|
<!-- exposure.glsl -->
|
|
|
|
<exposure-compensation>
|
|
|
|
<use>/sim/rendering/hdr/exposure-compensation</use>
|
|
|
|
</exposure-compensation>
|
|
|
|
</parameters>
|
2021-08-25 02:17:09 +00:00
|
|
|
<technique n="1">
|
|
|
|
<pass>
|
|
|
|
<stencil>
|
|
|
|
<function>equal</function>
|
|
|
|
<value>3</value>
|
|
|
|
</stencil>
|
|
|
|
<program>
|
2023-04-07 06:17:37 +00:00
|
|
|
<vertex-shader>Shaders/HDR/quad.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/water_shading.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/math.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/normal_encoding.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/pos_from_depth.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/aerial_perspective.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/atmos_spectral.glsl</fragment-shader>
|
2023-04-12 20:50:03 +00:00
|
|
|
<fragment-shader>Shaders/HDR/exposure.glsl</fragment-shader>
|
2021-08-25 02:17:09 +00:00
|
|
|
</program>
|
|
|
|
<uniform>
|
|
|
|
<name>gbuffer0_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>gbuffer1_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">1</value>
|
|
|
|
</uniform>
|
2023-04-07 06:17:37 +00:00
|
|
|
<uniform>
|
|
|
|
<name>prefiltered_envmap_tex</name>
|
|
|
|
<type>sampler-cube</type>
|
|
|
|
<value type="int">9</value>
|
|
|
|
</uniform>
|
|
|
|
<!-- pos_from_depth.glsl -->
|
2021-08-25 02:17:09 +00:00
|
|
|
<uniform>
|
|
|
|
<name>depth_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">3</value>
|
|
|
|
</uniform>
|
2023-04-07 06:17:37 +00:00
|
|
|
<!-- aerial_perspective.glsl -->
|
2021-08-25 02:17:09 +00:00
|
|
|
<uniform>
|
2023-04-07 06:17:37 +00:00
|
|
|
<name>aerial_perspective_tex</name>
|
2021-08-25 02:17:09 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">11</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
2023-04-07 06:17:37 +00:00
|
|
|
<name>transmittance_tex</name>
|
2021-08-25 02:17:09 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">12</value>
|
|
|
|
</uniform>
|
2023-04-12 20:50:03 +00:00
|
|
|
<!-- exposure.glsl -->
|
|
|
|
<uniform>
|
|
|
|
<name>lum_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">14</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>exposure_compensation</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>exposure-compensation</use></value>
|
|
|
|
</uniform>
|
2021-08-25 02:17:09 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|