# Texture not being applied to mesh instance with negative scaling

**URL:** <https://forum.babylonjs.com/t/texture-not-being-applied-to-mesh-instance-with-negative-scaling/30791>\
**Category:** Bugs\
**Created:** [May 27, 2022, 4:12pm UTC](https://forum.babylonjs.com/t/texture-not-being-applied-to-mesh-instance-with-negative-scaling/30791 "2022-05-27T16:12:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alvov/32/2061_2.png) [@alvov](https://forum.babylonjs.com/u/alvov)\
**Post date:** [May 27, 2022, 4:12pm UTC](https://forum.babylonjs.com/t/texture-not-being-applied-to-mesh-instance-with-negative-scaling/30791/1 "2022-05-27T16:12:23Z")

</div>

Please check the [PG](https://playground.babylonjs.com/#20OAV9#7543)

Steps to reproduce:

1. Create standard material with no textures applied
2. Create some mesh and apply the material to it
3. Create an instance of the mesh
4. Apply negative scaling to the instance
5. _After some significant delay_, apply a texture to the material

After that the texture seems to only be rendered on the mesh, but the instance remains the same.

The issue can be reproduced with BJS version 5.8.0, but **not** with version 4.1.0 (everything seems fine there).

Can anyone please help with where to look at for a fix/workaround?

Thanks!

---

<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:** [May 27, 2022, 4:55pm UTC](https://forum.babylonjs.com/t/texture-not-being-applied-to-mesh-instance-with-negative-scaling/30791/2 "2022-05-27T16:55:16Z")

</div>

Let me have a look

---

<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:** [May 27, 2022, 5:13pm UTC](https://forum.babylonjs.com/t/texture-not-being-applied-to-mesh-instance-with-negative-scaling/30791/3 "2022-05-27T17:13:48Z")

</div>

Ok fix is coming:  
[Fix render frame identification issue with instances by deltakosh · Pull Request #12597 · BabylonJS/Babylon.js (github.com)](https://github.com/BabylonJS/Babylon.js/pull/12597)
