glTF-Sample-Viewer icon indicating copy to clipboard operation
glTF-Sample-Viewer copied to clipboard

Unable to render primitive that only contains positions and tangents (and no normals)

Open UX3D-kanzler opened this issue 5 years ago • 3 comments

UX3D-kanzler avatar Jun 04 '21 12:06 UX3D-kanzler

@lexaknyazev Would it make sense, to disallow this case?

UX3D-nopper avatar Jun 04 '21 12:06 UX3D-nopper

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.

lexaknyazev avatar Jun 25 '21 14:06 lexaknyazev

+1 for disallowing or ignoring tangents when no normals are provided.

emackey avatar Sep 08 '21 14:09 emackey