Colour Alpha in Shader

Hi, I’m trying to get the alpha channel of a colour to work when applied using a shader rather than a DX9 node.

I’ve attached a patch showing it working with a DX9 Quad and not with a Phong’d EX9 Grid.

Any ideas? I’ve tried splicing in a few bits of shader code I’ve found around the site but with no success so far.

Cheers

ColourAlphaInShader.v4p (5.3 kB)

the shader has an Alpha pin…

Ah, didn’t think of spreading the alpha pin with the alpha from an HSV split.

Thanks for the nudge!

working patch attached for reference

ColourAlphaInShader (working).v4p (7.3 kB)