Question

I am trying out MSAA (multisampling Antialiasing) in xna 3.0 but I keep getting this error message during runtime and it happens everytime I put:

Graphics.PreferMultiSampling = true;

The message reads: "The active render target and depth stencil surface must have the same pixel size and multisampling type"

Does anyone know how to get rid of this error?

Was it helpful?

Solution

I found out what it meants, basically I can not do MSAA without disabling depth buffers. More info on this can be found here: http://www.catalinzima.com/tutorials/deferred-rendering-in-xna/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top