Default lighting normals inverted for standard material in right-handed system

When I create a mesh without any normals (hoping to use default flat-shading) and a StandardMaterial in a right-handed system, the normals are inverted for lighting. However, the normals are correct for back-face culling. Is this a bug, or expected?

Note, it works as I expect for PBRMetallicRoughnessMaterial.

flat-shaded standard material right-handed system | Babylon.js Playground

It’s a bug!

Here’s the fix:

1 Like