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
37 views
363
101
5 days ago 00:03:47 1
SCOOTER - HOW MUCH IS THE FISH (Metal cover)
7 days ago 00:20:57 1
Incredible Discovery In The Grand Canyon? - YouTube
7 days ago 00:29:11 1
Interview with Valentin Kozlov, Valmix Company | Potato Tour Across Russia (Part 2) π₯π
1 week ago 00:57:54 1
Lost In Time : The Isolated House Where She Lost Her Mind | How I Find Abandoned Placess
1 week ago 01:01:39 1
TIME SLIP STORIES (SN 18 EP 38) TRUE UNEXPLAINABLE EXPERIENCES WITH MISSING TIME & TIME SLIPS
1 week ago 00:00:31 2
How To Train Your Dragon | Big Game Spot
1 week ago 00:05:05 59
How to Clown - Misha Usov - Professional Clown School
1 week ago 00:38:45 2
Try Not To Laugh Challenge#7 | Instant Regret Fails Compilation 2024 | Amazing People