KhronosGroup / glTF-Sample-Viewer

Physically-Based Rendering in glTF 2.0 using WebGL
Apache License 2.0
1.29k stars 238 forks source link

Vertex colors are not applied when they should #549

Closed lexaknyazev closed 2 months ago

lexaknyazev commented 5 months ago

When a mesh with point or line primitive mode has a defined material but does not have normals, the renderer ignores vertex colors.

See https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/PrimitiveModeNormalsTest.