Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

HLSL Render Targets

$
0
0

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.


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>