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
GltfMaterialSelector::DetermineMaterial will return the error material for materials that are not unlit and also lack pbrMetallicRoughness.
However, the spec says that the defaults should be applied for pbrMetallicRoughness if not present (see 5.19). That means that DetermineMaterial should still return PPX_MATERIAL_IDENT_STANDARD and the loading code should apply defaults for the missing values.
This would allow BigWheels to correctly render models like:
GltfMaterialSelector::DetermineMaterial
will return the error material for materials that are not unlit and also lackpbrMetallicRoughness
.However, the spec says that the defaults should be applied for
pbrMetallicRoughness
if not present (see 5.19). That means thatDetermineMaterial
should still returnPPX_MATERIAL_IDENT_STANDARD
and the loading code should apply defaults for the missing values.This would allow BigWheels to correctly render models like:
The text was updated successfully, but these errors were encountered: