Website powered by

UE5 Procedural Rock Shader

Here is a little project to learn how to use triplanar and gradient mapping to quickly create lots of variations of rocks. The shader is created in Unreal Engine 5 and could be used with other types of assets and materials or other gradients. They can be easily modified thanks to several parameters.
Rock and materials come from Quixel Megascans.
It was interesting to work with some tools I didn't know before, like gradient atlas and triplanar mapping.
Hope you'll enjoy it :)

Different variations of the shader with different gradient for rock texturing - sand, snow, moss

Different variations of the shader with different gradient for rock texturing - sand, snow, moss

Snowy rock with gradient 1

Snowy rock with gradient 1

Gradient and Top Material variations

Top Material applied only on the top of the asset, even if it's rotated