Using Layered Lit to mix Texture Maps

Guide To Beautiful Games In Unity

Objective: Create a new material combining two existing materials

Create a new material and set its shader to layeredlit so that it allows to combine materials. This shader allows maximum of 4 materials to be combined.

Now create a height map and drag it into the Layer mask. Depending on the height map, the layers will be combined.

And this is the result.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store