gwaldron / osgearth

3D Maps for OpenSceneGraph / C++14
https://www.pelicanmapping.com/home-1/opensource
Other
1.51k stars 780 forks source link

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

Closed remoe closed 10 months ago

remoe commented 10 months ago

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.

gwaldron commented 10 months ago

Thanks Remo ;)