I'm trying to obtain transparency for videos using OpenGL shaders. I was able to successfully remove green occurences in the video but my actual requirement is to only remove a particular shade of green but not all the shades of green.
I also understand that transparency can also be achieved through alpha masking. But I’m trying to achieve the same with just shaders. It would be great if someone could help to understand the pros and cons with both approaches.