32 lines
1.6 KiB
XML
32 lines
1.6 KiB
XML
<renderpath>
|
|
<rendertarget name="BlurH" tag="Blur" sizedivisor="2 2" format="rgba" filter="true" />
|
|
<rendertarget name="BlurV" tag="Blur" sizedivisor="2 2" format="rgba" filter="true" />
|
|
<command type="quad" tag="Blur" vs="Blur" ps="Blur" psdefines="BLUR3" output="BlurH">
|
|
<parameter name="BlurDir" value="1.0 0.0" />
|
|
<parameter name="BlurRadius" value="2.0" />
|
|
<parameter name="BlurSigma" value="2.0" />
|
|
<texture unit="diffuse" name="viewport" />
|
|
</command>
|
|
<command type="quad" tag="Blur" vs="Blur" ps="Blur" psdefines="BLUR3" output="BlurV">
|
|
<parameter name="BlurDir" value="0.0 1.0" />
|
|
<parameter name="BlurRadius" value="2.0" />
|
|
<parameter name="BlurSigma" value="2.0" />
|
|
<texture unit="diffuse" name="BlurH" />
|
|
</command>
|
|
<command type="quad" tag="Blur" vs="Blur" ps="Blur" psdefines="BLUR3" output="BlurH">
|
|
<parameter name="BlurDir" value="1.0 0.0" />
|
|
<parameter name="BlurRadius" value="1.0" />
|
|
<parameter name="BlurSigma" value="2.0" />
|
|
<texture unit="diffuse" name="BlurV" />
|
|
</command>
|
|
<command type="quad" tag="Blur" vs="Blur" ps="Blur" psdefines="BLUR3" output="BlurV">
|
|
<parameter name="BlurDir" value="0.0 1.0" />
|
|
<parameter name="BlurRadius" value="1.0" />
|
|
<parameter name="BlurSigma" value="2.0" />
|
|
<texture unit="diffuse" name="BlurH" />
|
|
</command>
|
|
<command type="quad" tag="Blur" vs="CopyFramebuffer" ps="CopyFramebuffer" output="viewport">
|
|
<texture unit="diffuse" name="BlurV" />
|
|
</command>
|
|
</renderpath>
|