Hello guys, I am trying to recreate cube revealing video effect from the link and video.
I made cube in 3js, and made animation with scaling rotating and inclining it forward the screen.
Next step is showing video inside of cube (contained), so more the cube is scaling up, more of the video is visible, cube is being used as some kind of mask and anything outiside of the cube is not visible.
I tried to make it as some kind of css mask but it is not working. I belive answer is also in THREE.js.
I would be really generous if someone could write few lines of how to do it, if it is not to hard to explain in sentence or two.