# Decal not working after PR requests is merged

**URL:** <https://forum.babylonjs.com/t/decal-not-working-after-pr-requests-is-merged/34984>\
**Category:** Questions\
**Created:** [October 20, 2022, 11:20am UTC](https://forum.babylonjs.com/t/decal-not-working-after-pr-requests-is-merged/34984 "2022-10-20T11:20:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijay\_krishna](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vijay_krishna/32/18667_2.png) [@vijay\_krishna](https://forum.babylonjs.com/u/vijay_krishna)\
**Post date:** [October 20, 2022, 11:20am UTC](https://forum.babylonjs.com/t/decal-not-working-after-pr-requests-is-merged/34984/1 "2022-10-20T11:20:06Z")

</div>

Hi,

Recently @Evgeni_Popov merged the request regarding decals  
Currently existing code snippets are not working,

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

> <https://github.com/BabylonJS/Babylon.js/pull/13111>
>
> See https://forum.babylonjs.com/t/decals-are-not-supported-for-glb-files/34571/2…1
> 
> The doc has also been updated (https://github.com/BabylonJS/Documentation/pull/673).
> 
> I have tried to remove a number of object creations (\`Vector3\` / \`Vector4\`) to lower GC pressure, at least in the main paths.
> 
> Also, to avoid over-complicating the code even more, I handle only the first 4 matrix indices/weights of a rigged mesh when creating new vertices at the clipping stage (vertices that are not clipped retain their full indices/weights). I did not see any artefacts because of that in my testings. This code can be revisited later if necessary.

could u pls have a look

Thanks  
vijay

---

<div class="post-metadata">

**Author:** ![vijay\_krishna](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vijay_krishna/32/18667_2.png) [@vijay\_krishna](https://forum.babylonjs.com/u/vijay_krishna)\
**Post date:** [October 20, 2022, 12:38pm UTC](https://forum.babylonjs.com/t/decal-not-working-after-pr-requests-is-merged/34984/2 "2022-10-20T12:38:09Z")

</div>

Just to add detail insight, the PR was working till yesterday i.e we were able to apply decals to the mesh.  
From today onwards its not working

---

<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, 3:10pm UTC](https://forum.babylonjs.com/t/decal-not-working-after-pr-requests-is-merged/34984/3 "2022-10-20T15:10:06Z")

</div>

cc @Evgeni_Popov about the PR

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [October 20, 2022, 11:30pm UTC](https://forum.babylonjs.com/t/decal-not-working-after-pr-requests-is-merged/34984/4 "2022-10-20T23:30:41Z")

</div>

Assigned @Evgeni\_Popov on October 20, 2022, 11:30pm UTC



---

<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 21, 2022, 9:49am UTC](https://forum.babylonjs.com/t/decal-not-working-after-pr-requests-is-merged/34984/5 "2022-10-21T09:49:52Z")

</div>

[This PR](https://github.com/BabylonJS/Babylon.js/pull/13143) fixed it and is now deployed in the Playground.

---

<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 21, 2022, 9:49am UTC](https://forum.babylonjs.com/t/decal-not-working-after-pr-requests-is-merged/34984/6 "2022-10-21T09:49:55Z")

</div>

Unassigned @Evgeni\_Popov on October 21, 2022, 9:49am UTC


