Wrapping Decal-like Material Possible?

Hi all,

I’m looking to make a material that “wraps” itself to anything inside it’s bounds, kind of like a decal (I can’t use decals because they can’t be projected from custom meshes). So for example, I have a box and while it’s in midair it appears invisible but as soon as it starts to intersect with the world it highlights that area. I’ve made a simple mockup of what I’m looking for. Hopefully this is possible, while I have reasonable experience with Unreal I have very little experience with rendering and materials so any help would be greatly appreciated.
For some context, I want to use this for telegraphing attacks in my game similar to how it’s done in various MMOs such as Guild Wars 2, WildStar and FF14.

Thanks in advance :slight_smile:

I’d like to know how to do this too. I’d expect it to be a pretty basic post process effect, but this is the ONLY thread I’ve ever seen asking about it.

In 4.13 Mesh Decals were added. I haven’t tested them myself yet, but they could be what you are looking for.