How to create and modify a plane mesh in Unity (Procedural mesh generation tutorial)

In this video I go over how I procedurally generate a plane mesh with a desired size and resolution. Then I show how I use a sine wave to make it wavy in real time. Note: While not shown in the video, I made anti-clockwise version of my triangles to be able to see the back face of my meshes regardless of material. This other video of mine goes over mesh generation basics and I hope it clears out anything I may have skipped over in this one: Some feedback I received and want to pass along: to help perfromance Vertex shaders might do a more efficient job at animating a mesh, also storing an unmodified mesh and modifying that one as opposed to rebuilding from scratch every time will help. #unity #mesh #generation #gamedev 0:00 setup 0:12 Creating the plane 0:57 Modifying the plane
Back to Top