MonoGame 3D problems with spritebatch

I have problems with a 3D project I made. It displays all correctly but when I start doing spriteBatch.begin(); 3D models start displaying very strange

Normal drawing

Drawing with spriteBatch begin

Looks like your DepthBuffer got deactivated (maybe SpriteBatch does this, I don’t remember).

Try this before rendering the 3D part:

GraphicsDevice.DepthStencilState = DepthStencilState.Default;

1 Like


Yes, spriteBatch.Begin() resets fields and parameters related to the GraphicsDevice.