Askhento
I want to make freeze frame effect. Idea is to mix current frame with previous frame which I save to renderTarget.
Trying to use CopyFrameBuffer.xml renderPath, but it is always black.
<renderpath>
<rendertarget name="freezeFrame" sizedivisor="1 1" format="rgba" filter="true" />
<command type="quad" vs="MyCopyFramebuffer" ps="MyCopyFramebuffer" output="freezeFrame" tag="freezeFrame">
<texture unit="diffuse" name="viewport" />
<texture unit="normal" name="freezeFrame"/>
</command>
<command type="quad" vs="CopyFramebuffer" ps="CopyFramebuffer" output="viewport">
<texture unit="diffuse" name="freezeFrame" />
</command>
</renderpath>