Hi Szenia, first of all it’s a very intersting article.
Michaël Garcia
1

Hi Michaël.

Thanks!

A mask has to be a THREE.Texture, you cannot use a mesh directly. If you want to use a mesh, you first need to render that mesh into a separate texture, then use that as a mask. If you are animating the mesh, you need to do this each frame, and make sure the tMask value is updated as well.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.