Location Based Rendering with the shape of a texture


I have watched Epic Tutorial series regarding Location Based Opacity.

I could replicate it, and also with a cube. However I would like to create the same, however with a texture extruded along and also with a rotation ability. So lets assume I have texture of the letter K. After applying my material, depending on the rotation and location parameter given, Location based opacity is applied on the objects, like a mesh of Letter K is substracted from them.

If the above is not possible, I am trying to make dynamic doors (The two ideas I have are using the above, combined with placing the door mesh and removing collision or going for procedural meshes (Which would be a rather big problem)) and is there an easier/more convenient way of doing that?

Edit: Resolved.