Skip to content

Conversation

@david-lively
Copy link
Contributor

Description

This PR adds the option to override the KHR_unlit_material flag in a glTF 3DTileset.

Author checklist

  • [ ] I have submitted a Contributor License Agreement (only needed once).
  • I have done a full self-review of my code.
  • I have updated CHANGES.md with a short summary of my change (for user-facing changes).
  • [ ] I have added or updated unit tests to ensure consistent code coverage as necessary.
  • [ ] I have updated the documentation as necessary.

Testing plan

Load a 3DTileset that uses KHR_material_unlit flag. Observe that it is rendered using the unlit material. Toggle the checkbox and observe that it is rendered with default lighting.

@david-lively david-lively marked this pull request as ready for review August 11, 2025 15:24
@david-lively david-lively requested review from j9liu and kring August 11, 2025 15:24
@kring
Copy link
Member

kring commented Aug 12, 2025

Thanks @david-lively, looks great!

@kring kring merged commit 5137c75 into main Aug 12, 2025
7 checks passed
@kring kring deleted the add-ignore-khr_materials_unlit-option branch August 12, 2025 12:49
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

Successfully merging this pull request may close these issues.

3 participants