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”

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”