2021-04-10 09:14:16 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
2023-02-19 15:47:55 +00:00
|
|
|
<name>Effects/HDR/histogram-column</name>
|
2023-04-12 20:50:03 +00:00
|
|
|
<parameters>
|
|
|
|
<!-- exposure.glsl -->
|
|
|
|
<exposure-compensation>
|
|
|
|
<use>/sim/rendering/hdr/exposure-compensation</use>
|
|
|
|
</exposure-compensation>
|
|
|
|
</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_notexcoord.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/histogram_column.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/color.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/histogram.glsl</fragment-shader>
|
2023-04-12 20:50:03 +00:00
|
|
|
<fragment-shader>Shaders/HDR/exposure.glsl</fragment-shader>
|
2021-04-10 09:14:16 +00:00
|
|
|
</program>
|
|
|
|
<uniform>
|
2023-02-19 15:47:55 +00:00
|
|
|
<name>hdr_tex</name>
|
2021-04-10 09:14:16 +00:00
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
2023-04-12 20:50:03 +00:00
|
|
|
<!-- exposure.glsl -->
|
|
|
|
<uniform>
|
|
|
|
<name>lum_tex</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">14</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>exposure_compensation</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>exposure-compensation</use></value>
|
|
|
|
</uniform>
|
2021-04-10 09:14:16 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|