Missing Materials

De TriLib
Ir para navegação Ir para pesquisar

Sometimes, TriLib might not load your model with the original colors or textures.

There are a few reasons this might happen:

If your model uses textures, they must be located in the same folder as the model or inside the model Zip file if you're loading your model from Zip files.

Depending on your exporting options, model textures can be embedded in the model itself. (glTF2 and FBX files accept this feature)

If your model doesn't use textures, make sure the resource files it uses are located in the same folder as the model or inside the model Zip file if you're loading your model from Zip files.

glTF2 files sometimes contain ".bin" resource files, and OBJ (Wavefront) files sometimes contain ".mtl" (material library) files.