You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tangents are not specified, client implementations SHOULD calculate tangents using default MikkTSpace algorithms with the specified vertex positions, normals, and texture coordinates associated with the normal texture.
This would allow us to render more models correctly like:
Using
scene::GltfLoader
, some models in glTF-Sample-Assets do not render correctly since theTANGENT
primitive attribute is missing.Currently, if tangents are not present then the tangent will be set to
{0, 0, 0, 0}
; normal maps won't be rendered correctly.From 3.7.2.1:
This would allow us to render more models correctly like:
The text was updated successfully, but these errors were encountered: