Imported objects - how to use smooth shading

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Holm

I want to use smooth shading for some imported objects and i find this in the godot 2.1 documentation:

Importing 3D meshes

I cant find this in godot 3.1 - how to use this?

Thx for all infos.

I know if an object is exported from Blender with smooth shading, that also works in godot 3.1. But how do you turn it on or off?

Holm | 2019-09-03 10:24

1 Like
:bust_in_silhouette: Reply From: gmaps

This is the documentation for importing to 3.1 and it seems that there is no option for smooth/flat shading. Its probably meant to be done in blender/other tool and then imported to godot. We get smooth shading if we merge all vertices with same coordinates and interpolate their normals, which is basically mesh manipulation and should be in most cases done in editing tool, not game engine. Unless you want to be able to do it on the fly, in that case I think you can use vertex shaders, or just have a duplicate object if its not too complex.

Thank you, I think you’re right.

Holm | 2019-09-03 14:18