Many of you asked for it and here it is – Javier Pintor’s Procedural V-Ray Sand Material as showcased in his forum WIP thread. You will find here a short textual how-to supported with a video without commentary and the 3ds max scene file. Feel free to use it for any project you like.
Open the “sand_start.max” scene and assign V-Ray as the rendering engine (no matter what version you are using). Set it for a test render so you don’t waste too much time in this demonstration. The following image show how I usually do it, which doesn’t mean you can’t do it your way
Next step will be to create a plane of 500x500cm centered in X, Y and Z and with 100 segments in both directions like so.
Now let’s add a “Displace” modifier, set the strength to 30cm, open the material editor, go to the very last material and instance the map from the diffuse slot to the empty map slot in the displace modifier.
Apply the “Sand” material, you will see how the colors will change in the plane to a red, green and blue gradient. The gradient will determin the levels of the color, bump and displacement depending on the height of the surface, and for that reason we need to add a “UVW Map” modifier and set it as shown in the following image.
First Make sure the “Real-World Map Size” option is turned off and then, the last step is to add a “VRayDisplacement” modifier, set it to 3D mapping with amount of 30cm, then back to the material editor and in the “sand” material, instance the gradient from the “Displace” slot to the “Texmap” slot in the “VRayDisplacement” modifier.
Hit render and that’s it for now.
I made available also a video tutorial where I go further and apply some other technique like adding grass with Particle Flow or a VRayDisplacement to a tree. Please check it out above, at the beginning of this post, if skipped it
Thank You, Javi Pintor.[wpsharely]
You are welcome to comment on this article and ask questions using the comment box below!