Closed
Description
According to the glTF spec,
If material is
undefined
, then a default material MUST be used.
The "default material" is described here: https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#default-material
This should be easy to handle, there's a couple things to check:
- Ensure that the
MaterialPipelineStage
doesn't throw an error ifprimitive.material
is undefined. A no-op is probably okay - Ensure that the shader defaults match what is described in the spec
- find a model to test with