Vertex Colors Only With Alpha?

Hello!

Can anyone point my in the direction of a shader which only features self-lit vertex colors combined with a slider for object-wide transparency? I’ve looked all over and found mostly shaders which also feature a slot for texuremaps, or use vertex info for tranparency, etc.

Any help would be greatly appreciated!
:slight_smile:

This is a few lines. You need to read this page, this page (you want a Range), and this page (you want alpha blending). The combiner statement is the most complex, so I’ll give that to you:

SetTexture[_] {
    ConstantColor (0,0,0, [_Opacity])
    Combine primary, constant
}

Let us know if you need more direction.

Thanks for your help and the pointers to the docs, which I couldn’t find last time I looked, which was a while ago.:slight_smile: