Implemented Anti Aliasing RenderTargets on iOS

Hi,

I’ve been trying to get Anti Aliasing working on render targets when working on iOS but I just get a blank (white) png file. I have a sample project attached at: https://1drv.ms/u/s!AmAokWzsJ30cnEsJCvdAMTatdDNL To generate a render, double tap on the game window and it will save it into the documents folder on the iPad.

If I create the render target using the following code (perferedMultiSampleCount= 0) the render target works fine. If I use 4 as the value for perferedMultiSampleCount then I just get white instead of my scene saved into the render target.
_staticRenderTarget = new RenderTarget2D(this.GraphicsDevice, (int)width, (int)height, false, SurfaceFormat.Color, DepthFormat.Depth24Stencil8, 0, RenderTargetUsage.DiscardContents);

Reading other forum posts, it appears that someone has got multisampling to work on iOS using OpenGL (http://stackoverflow.com/questions/7402504/multisampled-render-to-texture-in-ios). So it looks like it ought to be possible to make multisampling work on iOS. Anyone any clues - has anyone managed to make it work? I’m on a bit of a deadline, so any help would be much appreciated.

Thanks for your help

Our multisampling support for render targets on all platforms does need some work. It is a known issue.