XNA/Monogame 3D - Disable Anti-Aliasing

767 views Asked by At

I'm trying to disable the anti-aliasing of my models' textures in Monogame 3D. In this picture, the edge colors should be pure colors ((0, 0, 255), (0, 255, 0), etc), but they're being blended and turning all ugly. Anyone know how to turn this off? Thanks.

1

There are 1 answers

0
Inksaver On

Old post but this works, similar to the answer given.

spriteBatch.Begin(samplerState: SamplerState.PointClamp); // prevent anti-alias when scaling up