1
0
Fork 0
fgdata/Effects/HDR/bloom-threshold.eff

40 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/bloom-threshold</name>
<parameters>
<exposure-compensation>
<use>/sim/rendering/hdr/exposure-compensation</use>
</exposure-compensation>
<bloom-threshold><use>/sim/rendering/hdr/bloom-threshold</use></bloom-threshold>
</parameters>
2021-04-10 09:14:16 +00:00
<technique n="1">
<pass>
<program>
<vertex-shader>Shaders/HDR/trivial.vert</vertex-shader>
<fragment-shader>Shaders/HDR/bloom-threshold.frag</fragment-shader>
<fragment-shader>Shaders/HDR/exposure-include.frag</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>lum_tex</name>
<type>sampler-2d</type>
<value type="int">1</value>
</uniform>
<uniform>
<name>exposure_compensation</name>
<type>float</type>
<value><use>exposure-compensation</use></value>
</uniform>
<uniform>
<name>bloom_threshold</name>
<type>float</type>
<value><use>bloom-threshold</use></value>
</uniform>
2021-04-10 09:14:16 +00:00
</pass>
</technique>
</PropertyList>