![unity 3d terrain unity 3d terrain](https://forum.unity.com/proxy.php?image=https%3A%2F%2Fi.imgur.com%2F9Ap2XUS.png)
Our first order of business is to get a 1×1 quad set up with 4 vertices. Let’s start coding, start with something basic We will build up the c# script step by step so that you can actually learn how it works.
![unity 3d terrain unity 3d terrain](https://assetstorev1-prd-cdn.unity3d.com/package-screenshot/ecc4d950-62f4-47b8-af03-002338bee763_scaled.jpg)
Our vertices will be filled in with triangles which each will have 3 vertices. Just to keep things simple we will keep our y values at 1.0f initially then will modify that with perlin noise or random noise later on. For those who are beginners reading this a vertex or vertices(plural) is a point in our 3d space which consists of a x,y,z co ordinate. Before we can get there we need to setup some vertices. This will be the game object we will give some geometry. On the unity hierarchy right click and create a empty game object. Start off with a blank new unity project. Check out my course here: Build a RTS Style City Builder from Scratch with Unity 3D – Part 1 Setting up our Unity 3D project for our terrain If you are interested in this project, I have produced a course on how you can learn to build a unity 3d rts city builder style game. So now that I have shown you what it can do let’s jump into this tutorial on how we can create a terrain in unity 3d. Procedural methods can get you more play time. One of the most powerful metrics in games is play time. You can generate entire games if done correctly. As you can see procedural generation is very powerful. I put this little project together to generate procedural terrain, trees and rocks. Procedural generated terrain, rocks and trees An example of where multiple procedural methods have been used is as per this screenshot below. In this tutorial we will only be dealing with procedural terrain generation, but in further tutorials I will be adding we will be looking at other forms of procedural generation as well. Here is a little example of what you can do with procedural generation: This technique undoubtedly is useful for making big progress in your games quickly with minimal effort. Which just provides so much appeal for players who enjoy genres like open worlds and infinite scenario game play. Procedural generation is great technique to keep your games fresh and interesting, by introducing randomly or algorithmic-ally generated content. So what is procedural generation useful for. Let us look at how we can generate procedural terrain in the unity 3d engine.