1
0
Fork 0
fgdata/Effects/blur.eff
2012-05-12 09:20:05 +02:00

37 lines
922 B
XML

<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
<name>Effects/blur</name>
<parameters>
<blurOffset_x>0.0</blurOffset_x>
<blurOffset_y>0.0</blurOffset_y>
<buffer-name></buffer-name>
</parameters>
<technique n="11">
<pass>
<texture-unit>
<unit>0</unit>
<type>buffer</type>
<name><use>buffer-name</use></name>
</texture-unit>
<program>
<vertex-shader>Shaders/blur.vert</vertex-shader>
<fragment-shader>Shaders/blur.frag</fragment-shader>
</program>
<uniform>
<name>input_tex</name>
<type>sampler-2d</type>
<value type="int">0</value>
</uniform>
<uniform>
<name>blurOffset_x</name>
<type>float</type>
<value type="float"><use>blurOffset_x</use></value>
</uniform>
<uniform>
<name>blurOffset_y</name>
<type>float</type>
<value type="float"><use>blurOffset_y</use></value>
</uniform>
</pass>
</technique>
</PropertyList>