Skip to content

Instantly share code, notes, and snippets.

@rtroe
Last active November 30, 2015 01:47
Show Gist options
  • Save rtroe/88b94f85c3bf6cbdb281 to your computer and use it in GitHub Desktop.
Save rtroe/88b94f85c3bf6cbdb281 to your computer and use it in GitHub Desktop.
Example of using setting Multiple Render Targets in CSharp
/****************************************************************************/
/* PREP PASS */
/****************************************************************************/
vxEngine.GraphicsDevice.SetRenderTargets(
vxEngine.Renderer.RT_ColourMap,
vxEngine.Renderer.RT_NormalMap,
vxEngine.Renderer.RT_DepthMap);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment