@hamoid wrote:
Hi! I'm trying to apply a mask to a video, but there's something funny going on on the bottom edge.
In this image you can see 1) the video, 2) the mask, and 3) the mask applied to the video.
Why does the mask size change when applied to the video? Is it because of a "multiple of 2" size issue? (It's 640x150 pixels in size).
It looks like the mask texture somehow becomes 2 pixels too short vertically, and then the bottom pixels are repeated to cover the missing space (as it happens sometimes in GL textures on edges).
I guess I could work around it by having a 1 pixel transparent margin around all borders in the mask, but I would like to understand the issue
Posts: 2
Participants: 1