Blender Procedural Texture: Molten Lava
So, I recently created a new procedural texture, all because someone showed me a lava texture, and I instantly asked myself, “Why did someone post this texture?”. Long story short, it was a texture that left much to be desired, and with that said, I created what I felt to be an exceptional lava texture. So, let’s start looking at how this texture works.
First, let us take a look at the node setup. It is a fairly simple setup, but I will explain it so that it makes sense to everyone:
I have changed the names of the labels for some of the nodes so that it is easier to understand. The Magma/Rock ColorRamp node is used to control the noise texture, and how much of that texture is magma, and how much of it is rock. The Multiply node next to it is the amount of
Kelvins used to determine the lava’s color and light (temperature). Lastly, we have the Intensity ColorRamp node, that controls how intense the lava portion of the texture is. If you flip the ramp, you will end up with a red ball, with little rock, like the one in the screenshot to the right. While we are looking at Colorramps, I do want to point out that they are using the Ease Interpolation; an option that gives much better results for textures like this, especially over the default linear interpolation.
Now we move on to the other part of the texture, the rocks. Since I wanted to add to the already created Rock portion of the noise texture, two more textures were added to put on top of that part of the texture. These textures would not only give the rock portion a more realistic look, but also displace them away from the lava,
so that the lava didn’t look like it was on the same level as the rock, because seriously, we want them to look real, and not flat. With the overlaying texture created, it was then mixed in with the Magma/Rock texture, adding to the texture’s look, and to the material’s displacement. This not only gave the texture a more realistic look, but also gives the object the look of a highly detailed model.
To demonstrate this, I went ahead and removed the surface portion of the texture. The result shows you what is being displaced in the texture, and as you can see, it looks a lot like lava rock, exactly what we want.
So, that’s it for the lava texture, but is the first of many texture articles to come, as well as a texture video tutorial in the future. With that said, have fun, and happy texturing!