glTF-Sample-Viewer
glTF-Sample-Viewer copied to clipboard
Unable to render primitive that only contains positions and tangents (and no normals)
@lexaknyazev Would it make sense, to disallow this case?
This case is already flagged by the validator as warning.
The spec says that when normals are not defined, the implementation should compute flat normals. Arguably, the provided tangents should be ignored in this case.
+1 for disallowing or ignoring tangents when no normals are provided.