Procedural Terrain Generation – Noise Layers – Part 3

I previous post we generated a plane, and we added noise to it. This time we are going to add layers to the noise so we will have more detail in the terrain.

If you haven’t seen previous posts, I would recommend doing so, as the content of this post is based on them.

Without further ado, let’s get into it! πŸ‘¨β€πŸ’»

Continue reading “Procedural Terrain Generation – Noise Layers – Part 3”

Understanding Updates in Unity

Have you ever wonder why Unity has so many update methods? Update, FixedUpdate, LateUpdate, what is going on here?!

When you are programming in Unity, you can see that besides Update, there is also FixedUpdate. When you first see it, you will definitely ask, “What is the difference between those two?”.

Well, there is a short answer, but you also need to know when to use each of them.

Continue reading “Understanding Updates in Unity”

Creating Waves on Plane mesh

So in a recent post, we talked about generating a Quad and a Plane, which is an excellent introduction to creating meshes from code! But this time, let’s modify a mesh on a fly, by making water from a Plane with some waves! πŸ„β€β™‚οΈ

If you read my previous posts, you already know how to generate a quad or a plane from code. We will use the code from my last post to create a plane, so we don’t need to write it again.

But before we can jump into modifying mesh, the first thing that I would do is to add scrolling to water texture. πŸ‘¨β€πŸ’»

Continue reading “Creating Waves on Plane mesh”