2021-07-26 10:10:58 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<name>Effects/HDR/atmos-sky-view</name>
|
2023-04-16 05:17:49 +00:00
|
|
|
<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-07-26 10:10:58 +00:00
|
|
|
<technique n="1">
|
|
|
|
<pass>
|
|
|
|
<program>
|
2023-04-07 06:17:37 +00:00
|
|
|
<vertex-shader>Shaders/HDR/quad.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/atmos_sky_view.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/math.glsl</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/atmos.glsl</fragment-shader>
|
2021-07-26 10:10:58 +00:00
|
|
|
</program>
|
2021-07-28 07:40:04 +00:00
|
|
|
<uniform>
|
|
|
|
<name>transmittance_lut</name>
|
|
|
|
<type>sampler-2d</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
2023-04-16 05:17:49 +00:00
|
|
|
<!-- 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-07-26 10:10:58 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|