I want to have a flat painted surface with a high glossy decal on it using only one material. What node setup would one use to have the glossy decal overlay the flat painted surface? Is this possible? A simple mix shader does not work as it mixes the glossy and the diffuse shaders. Any help is appreciated.
I’m guessing your decal is an image texture. If it is a PNG with some alpha, you can plug the “Alpha” output of the image texture into the “Factor” of the “Mix shader”. This means that where the alpha is 1, you’ll get one shader, and when it’s 0, you’ll get the other.
If you would like me to post a node setup of this, just say.
Please post the node setup…but you might be missing my ask. I want the decal to be a high gloss surface, with the mesh it is overlayed on being a diffuse flat material. But I want to do this as one material. Thanks.
High gloss decal on diffuse base / one material:
Exactly as bwhite said: The alpha channel of the decal drives the Mix shader.
Awesome, thanks so much folks. I will try this.