# Lines around meshes with alpha textures

**URL:** <https://forum.babylonjs.com/t/lines-around-meshes-with-alpha-textures/33812>\
**Category:** Questions\
**Tags:** texture\
**Created:** [September 9, 2022, 10:23pm UTC](https://forum.babylonjs.com/t/lines-around-meshes-with-alpha-textures/33812 "2022-09-09T22:23:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alecell](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alecell/32/18099_2.png) [@Alecell](https://forum.babylonjs.com/u/Alecell)\
**Post date:** [September 9, 2022, 10:23pm UTC](https://forum.babylonjs.com/t/lines-around-meshes-with-alpha-textures/33812/1 "2022-09-09T22:23:12Z")

</div>

Hey guys I’m facing a issue that my texture shows a line on the top of the mesh I added. The texture has alfa, but for some reason it shows a line on its top, its being happening with every mesh texture that I added on the project, but for some reason it changes depending of the deviceI access the project.

By the way the texture doesn’t have that line on its top, it also shows depending of the angle we look at it.

Here’s a playground that shows the current issue: [Babylon.js Playground](https://playground.babylonjs.com/#Q2D82B)

I also have the project live, here I only see the issue on the fence behind the houses, not on the mountains at the back: [CATRUN - A JavaScript and BabylonJS game!!@!!!!!!!!1111ONZE](https://alecell.github.io/catrun/)

This issue seems to be quite intermitent, but Im not sure, is that a bug or I messed up something? 🤔

---

<div class="post-metadata">

**Author:** ![Blake](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/blake/32/21509_2.png) [@Blake](https://forum.babylonjs.com/u/Blake)\
**Post date:** [September 9, 2022, 11:11pm UTC](https://forum.babylonjs.com/t/lines-around-meshes-with-alpha-textures/33812/2 "2022-09-09T23:11:27Z")

</div>

Try using clamp instead of wrap for the address mode like on line 34. 🙂

> **[Babylon.js Playground](https://playground.babylonjs.com/#Q2D82B%231)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![Alecell](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alecell/32/18099_2.png) [@Alecell](https://forum.babylonjs.com/u/Alecell)\
**Post date:** [September 9, 2022, 11:45pm UTC](https://forum.babylonjs.com/t/lines-around-meshes-with-alpha-textures/33812/3 "2022-09-09T23:45:10Z")

</div>

Thank you!!
