I’m trying to add a swarm of flies into a vfx shot I’m working on. They come up and over a treeline in the distance, so I’ve keyed out the blue sky to get the contour of the treeline, I’ve exported the matte from After Effects and imported it into Blender. I have a large, roughly planar object acting as the treeline, then I just front project the keyed out image sequence onto the plane object to occlude the flies, only… it doesn’t do that. It uses the original geometry of the shape (ignoring my alpha mask) and makes the whole plane alpha zero (non z transparent, so the sky will show through, not whats behind it).
Is there any way to get the ‘env’ option in the materials to recognize the alpha mask I’ve used?