Track mask to screen color filter?

I have a section of this community effect that I am trying to essentially face track a hole through a filter.

Think of it almost as a spotlight. I am darkening the scene except for one small area that face tracks.
The issue I’m running into is that the only way I can think to do it is to bring in a 2D texture with a small alpha hole in it, make it big and track that to the face. But when the face turns too far to one side, you see the edges of the texture on the 3D plane, and the illusion is lost, or if the subject gets too far from the camera.

Does anyone know a way to mask a color filter, and track that mask to a face (even on 2D coordinates could work)?
I could just create sort of a ‘dot’ mask to ‘punch through’ the filter, and then the darkening of the scene would always stay edge to edge.

Any thoughts?, I’ll keep attacking this.

9 Likes

You could set the position of the plane to the position of the head without using the rotation of the head. Just don’t make it a child of the head tracker!

Screenshot 2023-03-24 at 8.21.33 PM

11 Likes

In this case, “Sphere 1” would be your plane.

8 Likes

Thanks Eddy. Trying that now.

7 Likes

Is the problem solved

7 Likes