Hi guys,
I have render targets working nicely in my game, but I cant figure out how to make the render target render at 8x FSAA like the back buffer is doing.
Here is a screenshot of my scene. The left is a render target rendered at full screen to the back buffer and the right side is the same sphere model rendered direct to the back buffer right after the render target draw.
As you can see, the render target is getting no FSAA softening. Where the model on the right is.
I tried matching the render target texture desc to the back buffer like this
textureDesc.SampleDesc.Count = 8;
But this results in a crash, which for some reason is being caused by a NULL pointer in the vertex shader for the render target, which only happens when the 'Count' is not equal to 1.
Any advice on how to make the render target receive FSAA / MSAA would be awesome.
Thanks in advance :)