Coding in Unity: Mastering Procedural Mesh Generation

Learn to procedurally program meshes in Unity, from simple shapes to complex terrain and infinite fractal landscapes.

4.40 (202 reviews)
Udemy
platform
English
language
Game Development
category
instructor
2,066
students
3 hours
content
Nov 2020
last update
$44.99
regular price

What you will learn

Use Unity to generate complex meshes from code.

Create realistic looking landscapes with Perlin and fractal noise.

Program two and three dimensional shapes.

Procedurally generate meshes for both 2D terrain and 3D landscapes.

Use your knowledge of meshes to add vertex colours, and calculate UVs, normals and tangents.

Description

Learn how to procedurally generate meshes in Unity 5.6 or above. You'll start with simple shapes and work your way up to complex, fractal landscapes. This is a code-along style course where you'll learn how program meshes at each stage.

Learn, Understand and Master Procedural Generation with this Intermediate Unity Course.

  • Learn about the different properties of a mesh.

  • Create two and three dimensional shapes.

  • Calculate UVs, normals, tangents and vertex colours.

  • Understand how to use Perlin and fractal noise to generate 2D terrain and 3D landscapes.

  • Learn how to program large and infinite landscapes for you game.

A powerful tool for making games.

In this course, you will learn to procedurally generate meshes from geometric objects to worlds with randomly generated terrain. Many popular games use some form of procedural generation, from Minecraft to Dwarf Fortress. Mesh generation is just one aspect of procedural generation which encompasses topics such as texture generation, object placement, and even story generation.

By the end of this course, you’ll be able to generate unique and impressive landscapes from code ready to use in your games. Source code is included to help you on your way.

I designed this course to be easily understood by intermediate level coders and users of Unity with no previous experience of mesh generation.

I present examples of increasing difficulty designed to help you to understand exactly how mesh generation is done, and guide you through the theory behind it so that you can be confident in creating your own meshes.

For extra support, you can ask questions in the Q&A section, and I’ve provided the completed code examples for download in each Section. You’ll receive a certificate of completion once you finish the course.

Content

Introduction

Introduction to Meshes

All the Triangles

Initialise
Mesh
Backface Culling and Normals

More 2D Shapes

Refactoring
All the Quads
All the Unique Quads
All the Regular Polygons

All The Tetrahedrons

Shared Vertices
Display Normals
Unique Vertices

More 3D Shapes

All the Cubes
All the Prisms
Vertex Colours
Making a Vertex Shader
3D Challenge

UVs

Quad UVs
Polygon UVs
Prism UVs

Normals and Tangents

Polygon Normals
Polygon Tangents
Prism Normals
Prism Tangents
General Normals and Tangents Theory
General Normals
General Tangents

Noise

Introduction and Perlin Noise
Fractal Noise

2D Procedural Terrain Generation

Simple and Flat 2D Terrain
Adding Noise
Simple UVs
Complex UVs

Procedural Landscape Generation

3D Landscape
UVs and Vertex Colours
Fractal Islands
Low Poly Fractal Islands

Infinite Landscapes

Chunks For Infinite Terrain
Fixing The Normals
Fixing UVs And Tangents

Bonus

Bonus Lecture: My Other Courses

Screenshots

Coding in Unity: Mastering Procedural Mesh Generation - Screenshot_01Coding in Unity: Mastering Procedural Mesh Generation - Screenshot_02Coding in Unity: Mastering Procedural Mesh Generation - Screenshot_03Coding in Unity: Mastering Procedural Mesh Generation - Screenshot_04

Reviews

Fredy
February 17, 2022
The curso is excelent. It has really complete information about the procedural model rendering. 100% recommended.
Aleksei
January 7, 2022
The videos goes straight to the point and gives very tense and specific information. I like that. It really spears a lot of time researching Unity's docs (which could sometimes be quite vague). But students must keep in mind that it isn't a course about math. One need to understand at least basic geometry, trigonometry and vector algebra to fully see which magic happens where.
Connor
September 18, 2021
The content in this course is great and clearly the instructor is very knowledgeable. Unfortunately, the course is taught making way too many assumptions about what students already know. This course assumes that the student is already very advanced in understanding of Unity, the vocabulary of geometry, and C#. I think this course would benefit from spending more time on explaining concepts and less time showing code. In short, I find it hard to picture the target audience of this course; somebody who is already very advanced in understanding of C#, and fairly advanced in understanding of geometry, yet still would be in need of a course like this.
Spencer
February 3, 2021
The instructor is very knowledgeable, but her delivery is dry and the lessons are not that interesting.
Torrey
November 5, 2020
Good so far, what I expected. There's a few places where the editing of the video could be better: some code is filled in and then instantly the video cuts back to the Unity interface, making it hard to see what the last line of code was.
C
February 12, 2018
The Instructor is very knowledgeable however, it is difficult to see her code because she does not enlarge the screen and she goes at a fairly fast paste. If you are familiar with unity you should have no problem.
Elizabeth
January 12, 2018
So far it's the most accessible tutorial on dynamic meshes I've come across, well worth the money! I didn't give it the full five stars because the instructor goes a little bit fast and I find myself having to pause a lot
SplashKhat
January 7, 2018
Short and sweet videos that have been edited and sped up to keep the learning experience streamlined to only the relevant information. No Presentation mistakes! Content can be difficult, yet it's presented well at a comfortable & fun pace. Bonus: I feel my copy&paste skills increase by +10.
Adrian
December 11, 2017
I enjoyed this course. It was straight to the point. A couple of gripes were when editing the code jumping up and down from functions to the top to add variables and then jumping down again as I sometimes missed what had just happened and had to re watch. Not a big deal. My other gripe though probably only an issue for myself as I don't have the best eyesight was the small font used when coding. I found this difficult to read on some videos and had to rely on the downloaded code. But apart from that, good course and nice learning curve.
Bill
December 6, 2017
Very high quality code. I learned more in the first video than I have in several other courses combined.
Steve
November 28, 2017
I LOVE courses like this! Intermediate courses that just throw you in the deep end without the boring "and this is the inspector window" crap that makes me fall asleep. You will learn tons about meshes and scripting in this course! Enjoy!
Rauly
September 25, 2017
short simple and straight to the point, very helpful and very informative, the teacher has covered things i had not originally heard in multiple free tutorials online.
Camilo
August 11, 2017
O curso acontece muito rápido, poderia existir algum exercício ou exemplos para fazer durando do curso!
Tristin
July 15, 2017
Although this tutorial was very helpful in the sense that it described the math behind procedural mesh generation, I do feel a lot of content was rushed, some parts that went into the process I still don't 100 percent understand. There is also the feeling that a lot was missing from this tutorial series. Like it would have been even more useful if there were a few tutorials on using multiple textures on one terrain at different heights because most terrains will require more than one texture to look nice, rather then using vertex colors. Also, it would have been nice to learn about environmental object placement with the generated terrain, because part of making a terrain is the ability to give it plants, trees, etc.. Other than that, this tutorial was very useful considering I had barely any knowledge on the subject of procedural mesh generation.
Greg
July 7, 2017
I know C++, not C#. But, this appears to be almost the same. I started watching a while ago just to see what kind of stuff I would do once I know C#. But the girls voice in the video makes me tingly feeling everywhere, so I didn't stop watching. She describes everything very clearly, and she is very descriptive of everything needed to be done. She is a good teacher.

Charts

Price

Coding in Unity: Mastering Procedural Mesh Generation - Price chart

Rating

Coding in Unity: Mastering Procedural Mesh Generation - Ratings chart

Enrollment distribution

Coding in Unity: Mastering Procedural Mesh Generation - Distribution chart

Related Topics

870650
udemy ID
6/6/2016
course created date
11/21/2019
course indexed date
Bot
course submited by