Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gltf pbrMetallicRoughness not loaded correctly #6989

Open
slimbuck opened this issue Sep 24, 2024 · 0 comments
Open

Gltf pbrMetallicRoughness not loaded correctly #6989

slimbuck opened this issue Sep 24, 2024 · 0 comments

Comments

@slimbuck
Copy link
Member

If the gltf material does not specify pbrMetalicRoughness at this point in the gltf parser, then the default values should be used instead (as specified by the gltf spec).

The PlayCanvas material should have metalness enabled in this case and roughness set to 1 (i.e. inverseGloss enabled and gloss set to 1 on the material).

This hasn't been noticed before, because the default PC material happens to look roughly correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant