Show mesh normals

Hello there,

I’ve been trying to make my custom glb models show their normals, like shown in this playground Babylon.js Playground but apparently it only works with the ‘default objects’.

As you can see in my playground https://playground.babylonjs.com/#1ENDNT#79 the normals look rotated. Am I missing some parameter when loading custom meshes?

Cheers!

You need to apply more than the mesh’s position to get the normals positioned correctly.:

normals | Babylon.js Playground (babylonjs.com)

2 Likes