Log in or register to post comments

Add transparency to a region of video with a specific RGB value

March 1, 2017 - 2:58am #1

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.

Log in or register to post comments