- Hey I’m working on an outline shader in unity and I’m having some issues. everything works correctly except for the alpha channel. previously I would just bring the texture alpha over to the “Fragment Alpha” and it worked fine but now I need my outline alpha (2) to be combined with my texture alpha (1), and I cant seem to figure it out.
- I’ve tried addition, subtraction, multiplication, and division just to see if it would work and I haven’t gotten anything desirable.
Making a bit of a guess but I think you are trying to “merge” the two alpha regions into one, right? In that case, you can simply max() the two values together and that will yield the union of both masks