In this tutorial, I'll demonstrate how to texture some stylized rocks using Unity 6's Shader Graph. We'll be able to:
- Assign a base (tileable) texture
- Adjust the colors using a top-down gradient between two colors, which will be consistent even if we move or rotate the rock
- Add Moss / Sand or Snow that accumulates on the top (upward) facing normals.
-----------------------------------------
Link To Noise Texture:
https://github.com/Captainlonate/UnityVideos/blob/c09921983653fed9a1f54dee33181fe96d32e9d4/Noise%20Clouds%20238%20White.png
-----------------------------------------
Link To Brush Strokes Texture:
https://github.com/Captainlonate/UnityVideos/blob/c09921983653fed9a1f54dee33181fe96d32e9d4/Brush%20Strokes%20-%20Grey%20-%20102%20Lighter.png
Chapters:
0:00 Intro
0:42 Create Shader Graph
3:45 Base Texture
8:50 Gradient Overview
10:16 Gradient Fields
11:15 Vertex Y Percent
16:19 Gradient Nodes
17:25 Gradient Recap
19:01 Moss Inspector
26:24 Moss Fields
27:34 Moss Graph Nodes
33:19 Recap & Closing Thoughts