1
0
Fork 0
fgdata/Effects/HDR/postprocess.eff

39 lines
1.2 KiB
Text
Raw Normal View History

2021-04-10 09:14:16 +00:00
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/HDR/postprocess</name>
<parameters>
<bloom-strength><use>/sim/rendering/hdr/bloom/strength</use></bloom-strength>
<debug-ev100><use>/sim/rendering/hdr/debug/display-ev100</use></debug-ev100>
</parameters>
2021-04-10 09:14:16 +00:00
<technique n="1">
<pass>
<program>
<vertex-shader>Shaders/HDR/quad.vert</vertex-shader>
2021-04-10 09:14:16 +00:00
<fragment-shader>Shaders/HDR/postprocess.frag</fragment-shader>
<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>
<value type="int">1</value>
2021-04-10 09:14:16 +00:00
</uniform>
<uniform>
<name>bloom_strength</name>
<type>float</type>
<value><use>bloom-strength</use></value>
</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>