Mask Tint Shader
- FraserJamesH
- Apr 28, 2020
- 1 min read
For this post I'll be taking about the mask tint shader I made so I can change the colour of certain parts of a mesh based on a texture mask. The shader itself is very simple and follows the standard Unity LWRP PBR material shader with the Metallic texture including the Roughness/smoothness in the alpha channel. I've added an extra slot for the mask texture and the tint colour parameters. This is achieved by lerping between the tint colour, mask and the albedo texture.
*Image 1 is the shader in action, image 2 is the Mask Tint Shader Graph, image 3 is the material properties*
Comments