# How to disable Antialiasing on sprites?

**URL:** <https://forum.babylonjs.com/t/how-to-disable-antialiasing-on-sprites/11485>\
**Category:** Questions\
**Created:** [June 6, 2020, 10:00pm UTC](https://forum.babylonjs.com/t/how-to-disable-antialiasing-on-sprites/11485 "2020-06-06T22:00:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Auxence\_Fromont](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/auxence_fromont/32/2990_2.png) [@Auxence\_Fromont](https://forum.babylonjs.com/u/Auxence_Fromont)\
**Post date:** [June 6, 2020, 10:00pm UTC](https://forum.babylonjs.com/t/how-to-disable-antialiasing-on-sprites/11485/1 "2020-06-06T22:00:28Z")

</div>

Hello,  
I have some pixel art sprites in a scene and when i get close to them, i can see that the border between pixels is blurred :

(The source image isn’t antialiased)  
the sprite in the scene :

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/9/9d121b88d9db42496a0300f7c9a6208c382d3cf9.png)

How can i disable the antialiasing ?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [June 8, 2020, 5:00pm UTC](https://forum.babylonjs.com/t/how-to-disable-antialiasing-on-sprites/11485/2 "2020-06-08T17:00:02Z")

</div>

Hello!

can you try this:

```auto
spriteManagerPlayer.texture.updateSamplingMode(BABYLON.Texture.NEAREST_NEAREST);

```

Please note that sharing a Playground could help us helping you
