glTF importer invalid normals

I am trying to import my gun that was created in Blender into Studio. Despite the model having sharp edges, Studio’s glTF importer turns them smooth as if I had Shade Smooth turned on in Blender.

Lazer_pistol1.blend (960.7 KB)
Lazer_pistol1.glb (37.4 KB)
Lazer_pistol1.fbx (46.7 KB)

glTF import:


FBX import:

The FBX importer does not have the same issue.

System Information:
M2 Macbook Pro

Expected behavior

The glTF importer to have the same result as the FBX importer.

3 Likes

Thanks for the report! We’ll follow up when there’s any update on the issue.

Hey @jackTabsCode this looks like an issue with exporting the .glb, when I reimported the .glb you sent it had the same smoothing issues!

I suspect that when you exported Apply Modifiers was off, which would result in the underlying mesh getting exported rather than what you intended. (I think for .fbx the default is for this to be on [don’t ask me why it’s different for glTF :stuck_out_tongue_winking_eye:])

You can change this by toggling on Mesh → Apply Modifiers in the export menu.

You can also save that change in a new export preset too (using the menu at the top there) so you don’t have to set it to true everytime.

Feel free to reach out if you’re still having issues!