This project is read-only.

Multiple Render targets or similar

Dec 7, 2010 at 10:56 PM

Hi,

How do I set up multiple render targets like described here:
http://www.catalinzima.com/tutorials/deferred-rendering-in-xna/creating-the-g-buffer/

Does XEN provide for this, or do I have to fiddle around with graphicsdevice myself like:

state.BeginGetGraphicsDevice(someflag).SetRenderTarget(index, rendertarget);

Please note that I prefer not to have to fiddle around myself. So if this EXACT way is not posible in XEN, but something similar is, I'd rather have that. I'm just exploring possibilities at the moment.

Kind regards,

Dec 8, 2010 at 12:29 AM
Edited Dec 8, 2010 at 12:29 AM

DrawTargetTexture2DGroup

I am currently on holiday so I can't answer all questions

Dec 11, 2010 at 2:27 PM

Pretty hardcore, answering to these questions while on holiday. It's apreciated!

Another question, if you have the time. Does DrawTargetTexture2DGroup have the same limitation like the standaard MRT. For instance, I'd like to use a GBuffer with 3 or 4 textures. What happens on a PC where only 2 are supported? Does XEN cover this, or will I have to check the supported rendertarget count (using the static property in class DrawTargetTexture2DGroup) myself and provide different shading techniques when applicable?

thx!