Dynamic Culling/Boolean of sorts

Hey all,

I’m looking for a solution where I can do “sliding doors” of sorts, like here:

but I want the door to be invisible in the outer areas.
One idea is to fake it with scale, but then the texture is getting distorted.

Is there a cull method or some dynamic boolean in UE?

Thanks a lot

You could do it with a world position texture, which doesn’t distort when you scale the mesh. But it looks a little hinky when you move it, since Lumen.

Another option, would be to make the door material masked, and change the size of the mask as you move the door.

PS: Scratch the first option. It won’t move with the door. I really depends how complex your material is…

Thank you :slight_smile:
Might go with the scale option after all, as the door has some depth and I’m not sure how that would look with masked material (also not sure how to do it)

Thanks still!

1 Like