PBR Material not working with STL-Files

Hi there,

isn’t it possible to use PBR with STL-files?

Best regards,

STL does not support materials by default so our importer is mainly about geometry.

Nevertheless, you can straight after loading create and apply pbr materials to any stl model.

Can you use stl only ? else I would highly recommend GLTF for this.

Like sebavan said, here an example showing that you can assign PBRmat once stl imported: https://www.babylonjs-playground.com/#AJJ8U5#3


okay, but does it work, when I add a normalmap to this PBR-material?

There is no reason it doesn’t, unless your object dosn’t have UV coordinates.

Is there a possibility to simulate/do that without UV coordinates? Would it be possible to calculate them?