Texture not being applied to mesh instance with negative scaling

Please check the PG

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?


Let me have a look

1 Like

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