Godot Version
4.2.1
Question
Hello. I want to make all models in my scene flat shaded. I managed to archive this effect with a terrain which I constructed procedurally by calling SurfaceTool.set_smooth_group(-1)
Here is a screenshot of the terrain:
Besides procedural terrain I have several models composed of Godot built-in primitive shapes. And I can’t make them to look the same style. Toon shading gives somewhat similar result but not exactly. Toon makes faces either lighted or shadowed, only two colors.
I heard that shaders can do all kinds of magic and tried to research the topic. I found a mentioning about interpolation qualifiers, but given that I’ve never programmed shaders myself, I gave up on this one.
I think I will be able to archive the result by running my terrain generation script over all meshes in the scene, but this solution seem ugly. Please, help me with this one.