Is it possible to use custom geometry in place of a sphere mask?

Title says it all! In my materials, I am using a sphere mask for the opacity mask of a material to reveal certain portions of my level. I was wondering if instead of using a sphere I could use a custom mesh. More specifically, I want to use a 3D splatter-like geometry instead of the sphere. Suggestions?