Multiple materials can be applied easily to an object using Layered Lit shaders. Learn how to mask out materials using a colored mask image.
- [George] Hi, I'm George Maystree. … If you've ever wanted to place multiple materials … onto a single object, you realize that … it can be a challenge in unity. … But if you're using HDRP, we have a shader … called layered lit, which allows you to apply … up to four different HDRP lit shaders to an object. … So let's take a look at what we've got. … I'm going to go into my assets folder, LayeredLit. … And so I've got a bunch of materials here … as well as this default material. … So what we want to do is create a new material … and then use a mask to mask out what materials we want … and which ones we don't want. … So let me show you what I mean. … So we're going to take a look at this mask. … I have a mask in the scene and it's called LayeredLitMask. … And it's got basically four colors. … We're going to be using black, blue, green and red. … Now I've also added white just to kind of … show you what happens when you use that. … But basically, these four colors … are the most important ones. …
Note: Because this is an ongoing series, viewers will not receive a certificate of completion.
Skill Level Intermediate
Cert Prep: Unity Materials and Lightingwith Alan Thorn1h 56m Intermediate
Unity 3D 2019 Essential Trainingwith Emmanuel Henri4h 15m Beginner
1. Q4 2020
2. Q1 2021
3. Q2 2021
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.