I use GPUImage to play video with green screen over camera view. I use GPUImageChromaKeyBlendFilter to remove green background and it works correctly. But I also want to translate video and I'm using GPUImageTransformFilter for that. Code:
I've figured out that the problem connected to alpha of transform filter. I tried to set [transformFilter setBackgroundColorRed:0.0 green:0.0 blue:0.0 alpha:0.0]; But video still has black background
I use GPUImage to play video with green screen over camera view. I use GPUImageChromaKeyBlendFilter to remove green background and it works correctly. But I also want to translate video and I'm using GPUImageTransformFilter for that. Code:
It does translate video but also cuts off part of camera view. https://gyazo.com/cf335979913c69c34b6534fde54dd697
Why does it happen? Is this a bug? How can I move video correctly?