'Nearest Neighbor' zoom

后端 未结 3 1509
小蘑菇
小蘑菇 2020-12-28 18:07

When I draw a stretched Texture2D, the pixels receive a Blur-like effect.

I want to use \'pixelated\' graphics in my game and would like to know how to

3条回答
  •  抹茶落季
    2020-12-28 18:27

    In XNA 4, change your SpriteBatch.Begin() to set the sampler state to SamplerState.PointClamp

提交回复
热议问题