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

Example with custom shader (Camera green-screen effect) #5007

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jimver04
Copy link

@jimver04 jimver04 commented Feb 6, 2022

Description:
Added another example on how to make green-screen effect for camera input using a custom shader instead of a canvas. Completely in AFrame, no new material is defined using Three.js. This method might be faster than the canvas method committed previously. I haven't compare them however.

Changes proposed:

  • 1 more example for custom shader with mycamera video texture.

… with a green pixel remover for the famous Green Screen effect (set greens to transparent).
… with a green pixel remover for the famous Green Screen effect (set greens to transparent). This method uses a custom green-screen shader.
… with a green pixel remover for the famous Green Screen effect (set greens to transparent). This method uses a custom green-screen shader.
… with a green pixel remover for the famous Green Screen effect (set greens to transparent). This method uses a custom green-screen shader.
… with a green pixel remover for the famous Green Screen effect (set greens to transparent). This method uses a custom green-screen shader.
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

Successfully merging this pull request may close these issues.

None yet

1 participant