2021-04-10 09:14:16 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<name>Effects/HDR/postprocess</name>
|
2021-07-31 14:52:10 +00:00
|
|
|
<parameters>
|
2023-04-12 20:50:03 +00:00
|
|
|
<bloom-strength><use>/sim/rendering/hdr/bloom/strength</use></bloom-strength>
|
2023-04-07 06:17:37 +00:00
|
|
|
<debug-ev100><use>/sim/rendering/hdr/debug/display-ev100</use></debug-ev100>
|
2021-07-31 14:52:10 +00:00
|
|
|
</parameters>
|
2021-04-10 09:14:16 +00:00
|
|
|
<technique n="1">
|
|
|
|
<pass>
|
|
|
|
<program>
|
2023-04-07 06:17:37 +00:00
|
|
|
<vertex-shader>Shaders/HDR/quad.vert</vertex-shader>
|
2021-04-10 09:14:16 +00:00
|
|
|
<fragment-shader>Shaders/HDR/postprocess.frag</fragment-shader>
|
2023-04-07 06:17:37 +00:00
|
|
|
<fragment-shader>Shaders/HDR/aces.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/color.glsl</fragment-shader>
|
2021-04-10 09:14:16 +00:00
|
|
|
</program>
|
|
|
|
<uniform>
|
|
|
|
<name>hdr_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>bloom_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
2023-04-12 20:50:03 +00:00
|
|
|
<value type="int">1</value>
|
2021-04-10 09:14:16 +00:00
|
|
|
</uniform>
|
2021-07-31 14:52:10 +00:00
|
|
|
<uniform>
|
2023-04-12 20:50:03 +00:00
|
|
|
<name>bloom_strength</name>
|
2021-07-31 14:52:10 +00:00
|
|
|
<type>float</type>
|
2023-04-12 20:50:03 +00:00
|
|
|
<value><use>bloom-strength</use></value>
|
2021-07-31 14:52:10 +00:00
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>debug_ev100</name>
|
|
|
|
<type>bool</type>
|
|
|
|
<value><use>debug-ev100</use></value>
|
|
|
|
</uniform>
|
2021-04-10 09:14:16 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|