Last active
November 30, 2015 01:47
-
-
Save rtroe/88b94f85c3bf6cbdb281 to your computer and use it in GitHub Desktop.
Example of using setting Multiple Render Targets in CSharp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************/ | |
/* 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