Skip to main content

Looks like overdraw due to the lack of depth buffer.

You can specify the depth buffer when you create the RenderTarget2D:

 = new RenderTarget2D(this.GraphicsDevice, 800, 500, false, SurfaceFormat.Color, DepthFormat.Depth24Stencil8);

Looks like overdraw due to the lack of depth buffer.

Looks like overdraw due to the lack of depth buffer.

You can specify the depth buffer when you create the RenderTarget2D:

 = new RenderTarget2D(this.GraphicsDevice, 800, 500, false, SurfaceFormat.Color, DepthFormat.Depth24Stencil8);
Source Link
arul
  • 384
  • 3
  • 8

Looks like overdraw due to the lack of depth buffer.