1
0
Fork 0
fgdata/Effects/HDR/atmos-aerial-perspective.eff

58 lines
1.8 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/atmos-aerial-perspective</name>
<parameters>
<!-- atmos.glsl -->
<aerosol-type>
<use>/sim/rendering/hdr/atmos/aerosol-type</use>
</aerosol-type>
<aerosol-turbidity>
<use>/sim/rendering/hdr/atmos/aerosol-turbidity</use>
</aerosol-turbidity>
<ground-albedo>
<use>/sim/rendering/hdr/atmos/ground-albedo</use>
</ground-albedo>
<month-of-the-year>
<use>/sim/time/utc/month</use>
</month-of-the-year>
</parameters>
2021-04-10 09:14:16 +00:00
<technique n="1">
<pass>
<program>
<vertex-shader>Shaders/HDR/quad.vert</vertex-shader>
<fragment-shader>Shaders/HDR/atmos_aerial_perspective.frag</fragment-shader>
<fragment-shader>Shaders/HDR/math.glsl</fragment-shader>
<fragment-shader>Shaders/HDR/pos_from_depth.glsl</fragment-shader>
<fragment-shader>Shaders/HDR/atmos.glsl</fragment-shader>
<fragment-shader>Shaders/HDR/atmos_spectral.glsl</fragment-shader>
2021-04-10 09:14:16 +00:00
</program>
<uniform>
<name>transmittance_lut</name>
<type>sampler-2d</type>
<value type="int">0</value>
</uniform>
<!-- atmos.glsl -->
<uniform>
<name>aerosol_type</name>
<type>int</type>
<value><use>aerosol-type</use></value>
</uniform>
<uniform>
<name>aerosol_turbidity</name>
<type>float</type>
<value><use>aerosol-turbidity</use></value>
</uniform>
<uniform>
<name>ground_albedo</name>
<type>float</type>
<value><use>ground-albedo</use></value>
</uniform>
<uniform>
<name>month_of_the_year</name>
<type>int</type>
<value><use>month-of-the-year</use></value>
</uniform>
2021-04-10 09:14:16 +00:00
</pass>
</technique>
</PropertyList>