Enable colors in a GLTF-model

Hi,

here is a colored 3D-model created by Autocad.Tinkercad, exported to glTF 2.0-Format (filesuffix glb).

This is the Model.

I checked the file in an external viewer. Everything looks fine. The colors are available. After loading as panda-3D-model directly from glb-file the color is white. How can I enable the original colors?
I experimented a bit with light but wasn’t successful.

Thanks in advance

Bye

Franz

1 Like

The default render used in Panda3D does not support PBR. You need to install simplepbr for correct rendering of glTF models.

Also note that you must use any lighting other than the ambient one so that the color of the models becomes active.

3 Likes