I am quite new to hlsl and was wondering how I change the render target a pass renders too.
I have a shader which should make some data and pass that to another shader.
I am having some trouble finding out how to do this. I believe I am supposed to render to a render target then put that in a texture.
I think I figured out how to make a texture but I am having trouble with the render target part.
If you could write some very simple example code that would be very helpful. Thank you.