1
0
Fork 0
fgdata/Effects/HDR/water-shading.eff

54 lines
1.7 KiB
Text
Raw Normal View History

2021-08-25 02:17:09 +00:00
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/HDR/water-shading</name>
2021-08-25 02:17:09 +00:00
<technique n="1">
<pass>
<stencil>
<function>equal</function>
<value>3</value>
</stencil>
<program>
<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>
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>
<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>
<!-- aerial_perspective.glsl -->
2021-08-25 02:17:09 +00:00
<uniform>
<name>aerial_perspective_tex</name>
2021-08-25 02:17:09 +00:00
<type>sampler-2d</type>
<value type="int">11</value>
</uniform>
<uniform>
<name>transmittance_tex</name>
2021-08-25 02:17:09 +00:00
<type>sampler-2d</type>
<value type="int">12</value>
</uniform>
</pass>
</technique>
</PropertyList>