Skip to content

ModelExperimental - Default material #9992

Closed
@ptrgags

Description

@ptrgags

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 if primitive.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

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions