- Home /
Flat shading procedural generated mesh?
Hey! I've been working on a project currently, where I would really like to procedural generate the terrain. I have managed to generate the terrain mesh, but there is just 1 problem. It is smoothed?!!! I've been searching everywhere to find an answer, but no luck... I know I can generate 3 vertices for each to triangle, but I really think it is insufficient and difficult. Is there anyway I can flat shade my procedural generated mesh?
Here is an example, of what I am looking for:
But I keep receiving results like this...
I think you know what I mean.
Anything I can do???
Thank you very much!
@olivergravgaard050301I know this post is old but did you manage to find a solution? I have the exact same problem.
Answer by Chewico · Dec 09, 2019 at 11:43 AM
Here you have a shader that helps you https://forum.unity.com/threads/geometry-shader-flat-shading-in-shader-graph.718415/