Make Mesh Appear Polygonal Instead of Rounded

Updated on January 21, 2017 in [A] Modeling
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
14 on January 17, 2017

Hi everyone, I’ve been working on randomly generating a polygonal mesh (see my other thread here: http://forum.brackeys.com/thread/i-want-to-create-a-random-polygonal-map-generator-where-do-i-start/), and I’ve made a lot of progress. However, in the game view, the map looks like it has rounded edges, but in the wireframe view in the scene window it looks exactly how I’d like it to look. Is there anything I can do to change the individual faces of the mesh to be flat?

Game View:

Scene View:

  • Liked by
Reply
4 on January 17, 2017

You have to look at your smoothing groups and normals.

on January 17, 2017

I’ve recalculated the normals at the end of my mesh generator script, is there anything else I should be doing with the normals? I’ll look into smoothing groups when I get a chance. Thanks!

on January 19, 2017

So I’ve since learned that the smoothed effect I was getting was caused by the RecalculateNormals() function that was being called. I’ve gotten rid of that, which has gotten rid of the smoothing. However, now the mesh isn’t being lit properly, it’s all the same color (kind of like an unlit texture).

Is there something I can do with the normals in order to keep the faces flat, but still have them lit?

Wise
on January 19, 2017

Shaders

on January 20, 2017

Is there anything specific I can do with shaders to get the result that I want?

Show more replies
  • Liked by
Reply
Cancel