Multiple Render targets or similar

Dec 7, 2010 at 9:56 PM


How do I set up multiple render targets like described here:

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 7, 2010 at 11:29 PM
Edited Dec 7, 2010 at 11:29 PM


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

Dec 11, 2010 at 1: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?