Nez blurry sprites

As you can see an entity with a sprite render component is noticeably blurry. This also happens with text UI. I am using Nez.MG38 project and have tried Batcher.UseFnaHalfPixelMatrix = true; and Core sampler state is set to point clamp but that doesn’t fix it.


This is also accompanied with not being able to set the window size using the constructor like so:

public Game()
	: base(1280, 720) { }

This might indicate a faulty installation of Nez but I wasn’t able to fix the issues… any help?

I don’t know what Nez is but this might help with the second part:

In mongame 3.8 you can no longer set the resolution in the constructor - you need to do it in Initialize().

protected override void Initialize()
_graphics.PreferredBackBufferWidth = 1024;
_graphics.PreferredBackBufferHeight = 768;


1 Like

Sometimes it can be blurry if you don’t round your positions before drawing.