Layered Lit Materials In Unity HDRP

In many games, it is often of benefit to blend multiple materials (like grass and dirt) together in a natural way. HDRP can do it easy!

Vincent Taylor
2 min readJun 10, 2022

Today’s Objective: Explore the LayeredLit and LayeredLitTessellation material shaders available in Unity HDRP to layer textures.

Creating a LayeredLit material:

After creating a new material, switch it to either “HDRP/LayeredLit” or “HDRP/LayeredLitTessellation” shader.

Set the number of individual layers you want this material to contain, and the mask used to transition between them:

I’m using a simple noise texture as the mask for this example.

Next, you need to set the textures that will make up the layers of the material.

For each layer, the shader can either use an existing material, or a new material created solely for this material layer.

Do this for every layer.

After applying the material to a GameObject in your scene if you haven’t already, you can see the results:

--

--

Vincent Taylor

Unity game developer / C# Programmer / Gamer. Australian (Tasmanian) indie games developer for 10+ years. Currently looking for games industry employment.