Procedural Terrain Generation – Texture – Part 4

In previous posts, we generated a plane, added noise and noise layers to it. Now, it’s time to add texture to our terrain finally! πŸ”₯

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

Do you remember that we added UV to our terrain mesh? We did it in the first post on plane generation. Thanks to that, we don’t need to worry about it now. But to remind ourself which part is responsible for assigning UV to our mesh, let’s put it here.

Continue reading “Procedural Terrain Generation – Texture – Part 4”

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”