質問

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?

役に立ちましたか?

解決

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/

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top