Hi there,
I am looking for a Multiply shader that has a solid colour instead of an image.
Just wondering if anyone could point me in the right direction?
Thanks
Pete
Multiply shader? If I understood you right, then only dont set a Texture to the shader if you want only a color.
Is that what you mean?
I thought so but the multiply shader doesn’t have a tint colour like the additive one…
You could download builtin shaders from here:
And modify the shader you want appropriately
The one that would make the most sense to start from, I’d think, would be “Particles/Multiply”. It’s designed to multiply by vertex colors, so I assume you weren’t seeing any change because your mesh doesn’t have them, and I believe the default vertex color is white. However, that shader, while very simple, is still way too complicated if you just want to multiply whatever is already rendered by one solid color.
Shader "Multiply by Solid Color" {
Properties
{
_Color ("Color", Color) = (1,1,1)
}
SubShader
{
Tags {Queue=Transparent}
Blend Zero SrcColor
Pass {Color [_Color]}
}
}
Thanks guys,
that’s great ![]()
The perfect solution I was looking for. You’re a beautiful, beautiful man, Jessy