can someone tell me why this is happening?
Seem like DepthStencilState issue
im using empty keys as ui all settings im doing are
private void PreparingDeviceSettings(object sender, PreparingDeviceSettingsEventArgs e)
{
nativeScreenWidth = graphics.PreferredBackBufferWidth;
nativeScreenHeight = graphics.PreferredBackBufferHeight;
graphics.PreferMultiSampling = true;
graphics.SynchronizeWithVerticalRetrace = true;
graphics.GraphicsProfile = GraphicsProfile.HiDef;
graphics.PreferredDepthStencilFormat = DepthFormat.Depth24Stencil8;
e.GraphicsDeviceInformation.PresentationParameters.MultiSampleCount = 8;
}
how can i fix the glitch?
i solved it fucking stupid but well what can i say…
graphicsdevice.BlendState = BlendState.Opaque;
graphicsdevice.DepthStencilState = DepthStencilState.Default;