1
0
Fork 0
fgdata/Effects/HDR/envmap-prefilter.eff

39 lines
1.1 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/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>
<mip-count type="int">4</mip-count>
2021-04-10 09:14:16 +00:00
</parameters>
<technique n="1">
<pass>
<program>
<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>
<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>
<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>