2021-04-10 09:14:16 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PropertyList>
|
|
|
|
<name>Effects/HDR/envmap-prefilter</name>
|
|
|
|
<parameters>
|
|
|
|
<roughness type="float">0.0</roughness>
|
2021-07-31 12:36:02 +00:00
|
|
|
<num-samples type="int">1</num-samples>
|
2023-04-07 06:17:37 +00:00
|
|
|
<mip-count type="int">4</mip-count>
|
2021-04-10 09:14:16 +00:00
|
|
|
</parameters>
|
|
|
|
<technique n="1">
|
|
|
|
<pass>
|
|
|
|
<program>
|
2023-04-07 06:17:37 +00:00
|
|
|
<vertex-shader>Shaders/HDR/envmap.vert</vertex-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/envmap_prefilter.frag</fragment-shader>
|
|
|
|
<fragment-shader>Shaders/HDR/math.glsl</fragment-shader>
|
2021-04-10 09:14:16 +00:00
|
|
|
</program>
|
|
|
|
<uniform>
|
2023-04-07 06:17:37 +00:00
|
|
|
<name>envmap_tex</name>
|
2021-04-10 09:14:16 +00:00
|
|
|
<type>sampler-cube</type>
|
|
|
|
<value type="int">0</value>
|
|
|
|
</uniform>
|
|
|
|
<uniform>
|
|
|
|
<name>roughness</name>
|
|
|
|
<type>float</type>
|
|
|
|
<value><use>roughness</use></value>
|
|
|
|
</uniform>
|
2021-07-31 12:36:02 +00:00
|
|
|
<uniform>
|
|
|
|
<name>num_samples</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>num-samples</use></value>
|
|
|
|
</uniform>
|
2023-04-07 06:17:37 +00:00
|
|
|
<uniform>
|
|
|
|
<name>mip_count</name>
|
|
|
|
<type>int</type>
|
|
|
|
<value><use>mip-count</use></value>
|
|
|
|
</uniform>
|
2021-04-10 09:14:16 +00:00
|
|
|
</pass>
|
|
|
|
</technique>
|
|
|
|
</PropertyList>
|