I'm writing a shader that make a blur effect on a texture rendered form the scene. I need to do that in 2 passe, so with the pass P0 i make a horizontal blur, and in pass P1 the vertical one.
The problem is:
- How i can get the output from the PS on pass P0 and send as input on the PS on pass P1 ?
If i write it on single pass i obtain the expected result, but i really need to do in 2 passes.
Can anyone help me please?
Is my first approach toe HLSL.
Thank to everyone!
FOX_ITA