0
votes
0answers
54 views

Simultanious RenderTarget use in XNA

I am currently grappling with the idea of lighting a 2D scene as a 3D one and i need to clear up a couple of things. I have so far figured out that i am going to use a differed lighting system where ...
0
votes
1answer
382 views

How do I clear a specific render target when more than one are set? Or how do I keep the depth but clear the color?

Let's say I set two render targets GraphicsDevice.SetRenderTargets(rt0, rt1); If I call GraphicsDevice.Clear(Color.Transparent); both render targets will be cleared. Therefore, how can I clear a ...