Mesh Generation Basics in Unity (How to draw a circle and other polygons with mesh renderer)

In this video I go over mesh rendering basics and show how to procedurally generate meshes of regular polygons, both filled and hollow. if you increase the sides enough, it will generate a circle of increasing resolution. While it draws 2d geometry, I believe this way of generating meshes can be adapted to a third dimension, just with different math, but similar setup. c# code can be found here: Disclaimer: this is just 2 ways of drawing polygons (Filled and Hollow) #Unity #Mesh #Tutorial 0:00 Setup 0:27 DrawFilled 1:45 DrawHollow 2:20 Result
Back to Top