Hi all, i'm trying to make a game that interacts with my webcam feed.
I have a UserMedia object, with a black and white filter applied to It.
and i want to make my character to collide with the black parts of the video.
so he should be able to walk over the white areas of the video feed, and not be able to enter the black ones.
Any idea how can this be done?
Many thanks in advance!