# How to get rid of texture artifacts?

**URL:** <https://forum.babylonjs.com/t/how-to-get-rid-of-texture-artifacts/18423>\
**Category:** Questions\
**Created:** [February 14, 2021, 5:37pm UTC](https://forum.babylonjs.com/t/how-to-get-rid-of-texture-artifacts/18423 "2021-02-14T17:37:22Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [February 15, 2021, 1:45am UTC](https://forum.babylonjs.com/t/how-to-get-rid-of-texture-artifacts/18423/7 "2021-02-15T01:45:03Z")

</div>

Your problems come from the sampling mode: it is “linear/nearest & linear mip” whereas it should be “linear & linear mip” == tri linear sampling mode (for all 3 textures albedo, metallic & normal).

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

You can change these values afterwards, but it would be better to set the right value in the glb file, at export time:

[https://playground.babylonjs.com/#G3EH42#3](https://playground.babylonjs.com/#G3EH42#3)

---

_[View the full topic](https://forum.babylonjs.com/t/how-to-get-rid-of-texture-artifacts/18423)._
