f6f433529f
Talking with Emilian about this commit, we came to the conclusion we don't want share uniform between .eff file This reverts commit 91a6a27f32ee5f79e1d7e0d4570e879a902de58f.
37 lines
928 B
XML
37 lines
928 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/fullscreen.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>
|