[sandbox] Display normals changes position of thin instance mesh

Version: 7.42.0
Engine: webgl2

Steps to reproduce:

  1. get a model here:
    teapots_galore.zip (78.9 KB)
  2. Display inspector
  3. Find teapot mesh
  4. Check “Display normals”

Expected:
Normals rendered at the same position of original mesh.

Actual:

This will fix it Fix NormalMaterial with ThinInstances by sebavan · Pull Request #16028 · BabylonJS/Babylon.js · GitHub

2 Likes