Im trying to create a custom shader that allows me to take one RGB texture and combine it with another RGB texture that has the alpha in the G channel. I think I've managed to code my shader correctly, but how do I create an image with alpha in the G channel?
I have posted an answer here that has a cg shader which takes the RGB of one texture and uses the red channel of a second texture as an alpha mask. You’d simply have to change the Mask.x to Mask.y as the 4th float.
Cheers
==