# Decals & fabric show problem

**URL:** <https://forum.babylonjs.com/t/decals-fabric-show-problem/28436>\
**Category:** Questions\
**Tags:** material\
**Created:** [March 15, 2022, 9:10am UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436 "2022-03-15T09:10:46Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangjia5693](https://avatars.discourse-cdn.com/v4/letter/w/a183cd/32.png) [@wangjia5693](https://forum.babylonjs.com/u/wangjia5693)\
**Post date:** [March 15, 2022, 9:10am UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/1 "2022-03-15T09:10:46Z")

</div>

use fabric canvas as texture,click to add decal but two side has the text

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/5/1/513d77bc12b56262f356174b9aecf3c5d2f34a98.png)

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

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [March 15, 2022, 10:28am UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/2 "2022-03-15T10:28:03Z")

</div>

Can you explain in a bit more detail what is your issue?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 15, 2022, 3:59pm UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/3 "2022-03-15T15:59:17Z")

</div>

It is because your UVs are identical on both sides of the objects

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/c/d/cd607c69778ac461eb4a315004b86691d70da566.png)  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/c/ac97cb02809da26e8c0f5a05ad57b96746bfaa04.png)

they need to be different to wrap entirely the mesh for instance

---

<div class="post-metadata">

**Author:** ![wangjia5693](https://avatars.discourse-cdn.com/v4/letter/w/a183cd/32.png) [@wangjia5693](https://forum.babylonjs.com/u/wangjia5693)\
**Post date:** [March 16, 2022, 2:43am UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/4 "2022-03-16T02:43:13Z")

</div>

this mean i should tell the 3D designer to rebuild the gltf? i don not familiar this ,how to express this ,can you give a suggestion

---

<div class="post-metadata">

**Author:** ![wangjia5693](https://avatars.discourse-cdn.com/v4/letter/w/a183cd/32.png) [@wangjia5693](https://forum.babylonjs.com/u/wangjia5693)\
**Post date:** [March 16, 2022, 2:45am UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/5 "2022-03-16T02:45:37Z")

</div>

As shown in the screenshot image, i just want one side has the decals,but in fact it show two side

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 16, 2022, 3:26pm UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/6 "2022-03-16T15:26:48Z")

</div>

Showing them my answer should be fine 🙂 Basically the UVs are wrong should help them to understand

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [April 14, 2022, 10:24am UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/7 "2022-04-14T10:24:51Z")

</div>

Hello @wangjia5693 just checking in, was your question answered? 😃

---

<div class="post-metadata">

**Author:** ![PichouPichou](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pichoupichou/32/316_2.png) [@PichouPichou](https://forum.babylonjs.com/u/PichouPichou)\
**Post date:** [October 20, 2022, 5:27pm UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/8 "2022-10-20T17:27:55Z")

</div>

Hi @sebavan, is there any other way to avoid this rather than redoing the model UVs?

Thanks, Pichou

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [October 20, 2022, 5:45pm UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/9 "2022-10-20T17:45:15Z")

</div>

not that I know of 🙂

You need an information somewhere in the attributes to know wheat to draw.

---

<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:** [October 20, 2022, 10:45pm UTC](https://forum.babylonjs.com/t/decals-fabric-show-problem/28436/10 "2022-10-20T22:45:07Z")

</div>

Actually, you can remove the artefacts by using the new `cullBackFaces: true` setting:

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