![]() |
|
EXAMPLE MATERIAL 1: ERODED ROCK |
| Home | Tutorial Links | My Tutorials | Sample Materials | Freebies |
EXAMPLE MATERIAL 1: ERODED ROCKThis is the first of a series of example materials. The focus here will be on the material rather than the individual nodes used to produce it. This first material produces eroded rock or concrete using the displacement channel combined with a few maths nodes. So, what's going on here? Our starting point is a fBm node, although most of the 3D nodes would do as well (Turbulance, Fractal Sum or Cloud nodes also work). This node produces a output somewhere between 0 and 1. If we plug this into our displacement node, then we'll get a nice rugged surface, but thats not what we want here. To get our flat surface, we need to discard some of the infomation provided by the fBm node, and we are going to use the clamp maths function to achieve this. Clamp takes the value of input 1, and eliminates any value under 0 or over 1. If we plug our fBm node straight into the clamp node, then you will see no change - our input is already between 0 and 1. We will need to alter our input first.
If you plug this into the displacement node, you will get close to the final result. However, any sharp corners will fly apart as a result of the displacement, so finally we plug the output from our clamp into a final maths node, set to subtract, and subtract one from the output of the clamp. This leaves us with an output of -1 to 0; with roughly half of the output on 0. Plug this into your displacement node, and you will get our final material. |