The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

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.

in Engine by (85 points)

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?

1 Answer

+1 vote
Best answer

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.

by (713 points)
selected by

Thank you, I think you're right.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.