2021-04-10 09:14:16 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<name>Effects/HDR/lighting</name>
|
|
|
|
<parameters>
|
2021-08-18 23:22:26 +00:00
|
|
|
<texture n="8">
|
2021-07-31 17:07:06 +00:00
|
|
|
<image>Textures/PBR/dfg_lut.dds</image>
|
2021-08-18 23:22:26 +00:00
|
|
|
<type>2d</type>
|
2021-04-10 09:14:16 +00:00
|
|
|
<filter>linear</filter>
|
2021-08-18 23:22:26 +00:00
|
|
|
<mag-filter>linear</mag-filter>
|
2021-07-31 17:07:06 +00:00
|
|
|
<wrap-s>clamp-to-edge</wrap-s>
|
|
|
|
<wrap-t>clamp-to-edge</wrap-t>
|
2021-04-10 09:14:16 +00:00
|
|
|
<internal-format>normalized</internal-format>
|
|
|
|
</texture>
|
|
|
|
</parameters>
|
|
|
|
<technique n="1">
|
|
|
|
<pass>
|
2021-08-23 10:44:26 +00:00
|
|
|
<stencil>
|
|
|
|
<function>less-or-equal</function>
|
|
|
|
<value>8</value>
|
|
|
|
</stencil>
|
2021-04-10 09:14:16 +00:00
|
|
|
<texture-unit>
|
2021-08-18 23:22:26 +00:00
|
|
|
<unit>8</unit>
|
|
|
|
<image><use>texture[8]/image</use></image>
|
|
|
|
<type><use>texture[8]/type</use></type>
|
|
|
|
<filter><use>texture[8]/filter</use></filter>
|
|
|
|
<mag-filter><use>texture[8]/mag-filter</use></mag-filter>
|
|
|
|
<wrap-s><use>texture[8]/wrap-s</use></wrap-s>
|
|
|
|
<wrap-t><use>texture[8]/wrap-t</use></wrap-t>
|
|
|
|
<internal-format><use>texture[8]/internal-format</use></internal-format>
|
2021-04-10 09:14:16 +00:00
|
|
|
</texture-unit>
|
|
|
|
<program>
|
|
|
|
<vertex-shader>Shaders/HDR/trivial.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/lighting.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/gbuffer-include.frag</fragment-shader>
|
2021-08-18 23:22:26 +00:00
|
|
|
<fragment-shader>Shaders/HDR/lighting-include.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/aerial-perspective-include.frag</fragment-shader>
|
2021-04-10 09:14:16 +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>gbuffer2_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">2</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>depth_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">3</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
2021-08-18 23:22:26 +00:00
|
|
|
<name>ao_tex</name>
|
2021-04-10 09:14:16 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">7</value>
|
|
|
|
</uniform>
|
2021-08-18 23:22:26 +00:00
|
|
|
<!-- Lighting include -->
|
2021-04-10 09:14:16 +00:00
|
|
|
<uniform>
|
2021-08-18 23:22:26 +00:00
|
|
|
<name>dfg_lut</name>
|
2021-04-10 09:14:16 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">8</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>prefiltered_envmap</name>
|
|
|
|
<type>sampler-cube</type>
|
|
|
|
<value type="int">9</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>shadow_tex</name>
|
|
|
|
<type>sampler-2d-shadow</type>
|
|
|
|
<value type="int">10</value>
|
|
|
|
</uniform>
|
2021-08-18 23:22:26 +00:00
|
|
|
<!-- Aerial perspective include -->
|
2021-07-26 10:10:58 +00:00
|
|
|
<uniform>
|
2021-07-28 07:40:04 +00:00
|
|
|
<name>aerial_perspective_lut</name>
|
2021-07-26 10:10:58 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">11</value>
|
|
|
|
</uniform>
|
2021-07-30 19:34:57 +00:00
|
|
|
<uniform>
|
|
|
|
<name>transmittance_lut</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">12</value>
|
|
|
|
</uniform>
|
2021-04-10 09:14:16 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|