Skip to content

[glTF] Use a default material when none is specified #452

@footballhead

Description

@footballhead

Using scene::GltfLoader, some models in glTF-Sample-Assets fail to load because a material is not provided.

From 3.9.6:

The default material, used when a mesh does not specify a material, is defined to be a material with no properties specified. All the default values of material apply.

This would allow us to load more models like:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions