I'll try to make one or two effects from GpuGems so I'll need to render the scene
to a RenderTarget, do the effects and then 'blit' this RenderTarget to the backbuffer.
So I'll try to use
Code: Select all
addRenderTargetTexture(...
setRenderTarget(...
But then comes the problem, how do I copy the Texture to the Backbuffer?
It seems a bit quirky to make a quad, place the render target texture on it and render it to the
back buffer (I bet there will be filtering issues etc too) so anyone knows how this can be done better?
You do need to blit the pixels right or can you just 'set' the output to the render target texture?
Thanks!