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

cesium-native: add a simple GLTF "baseColorFactor" support #2415

Merged

Conversation

remoe
Copy link
Contributor

@remoe remoe commented Jan 9, 2024

This adds a simple GLTF baseColorFactor support and fix a case when "baseColorTexture" is not initialized.

I understand that the GLTF osgEarth parser requires a new PBR shader to fully support all potential materials. However, this simple modification enables the display of colors in certain 3DTiles layers.

fix "baseColorTexture" not exists
@gwaldron gwaldron merged commit 3e2f84e into gwaldron:master Jan 9, 2024
3 checks passed
@gwaldron
Copy link
Owner

gwaldron commented Jan 9, 2024

Thanks Remo ;)

@remoe remoe deleted the add/cesium-native-simple-color-material branch August 20, 2024 07: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.

2 participants