1
0
Fork 0
fgdata/Effects/HDR/envmap-prefilter.eff
2021-07-31 19:13:19 +02:00

31 lines
877 B
XML

<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/HDR/envmap-prefilter</name>
<parameters>
<roughness type="float">0.0</roughness>
<num-samples type="int">1</num-samples>
</parameters>
<technique n="1">
<pass>
<program>
<vertex-shader>Shaders/HDR/envmap-prefilter.vert</vertex-shader>
<fragment-shader>Shaders/HDR/envmap-prefilter.frag</fragment-shader>
</program>
<uniform>
<name>envmap</name>
<type>sampler-cube</type>
<value type="int">0</value>
</uniform>
<uniform>
<name>roughness</name>
<type>float</type>
<value><use>roughness</use></value>
</uniform>
<uniform>
<name>num_samples</name>
<type>int</type>
<value><use>num-samples</use></value>
</uniform>
</pass>
</technique>
</PropertyList>