Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlapping images #142

Open
jchesterisidoro opened this issue Jan 16, 2017 · 0 comments
Open

Overlapping images #142

jchesterisidoro opened this issue Jan 16, 2017 · 0 comments

Comments

@jchesterisidoro
Copy link

Hi, my main goal is to remove the green background of an image(using chroma key) and then replace the background with a different image. Normally, I'll simply get the 2d context of a canvas and drawImage(background) and then drawImage(chromaKeyedImage) to attain this. However, I can't get the 2d context of the canvas anymore after using the chroma effect. I think it was because I already got the 'webgl' context. Is there a way to do this? I'm looking at the layers effect but you don't have any tutorial on how to do use it. I'm not even sure if I really need the layers effect to do this.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant