# Wrapping Decal-like Material Possible?

**URL:** <https://forums.unrealengine.com/t/wrapping-decal-like-material-possible/321059>\
**Category:** Rendering\
**Tags:** highlight, unreal-engine, Decals, Rendering, question\
**Created:** [June 8, 2015, 10:38am UTC](https://forums.unrealengine.com/t/wrapping-decal-like-material-possible/321059 "2015-06-08T10:38:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LordHogFred](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordHogFred](https://forums.unrealengine.com/u/LordHogFred)\
**Post date:** [June 8, 2015, 10:38am UTC](https://forums.unrealengine.com/t/wrapping-decal-like-material-possible/321059/1 "2015-06-08T10:38:19Z")

</div>

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 🙂

 ![45582-highlightmaterial.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/a/37ad61b8d92bfb9c80926c02f38b09ea02d32053.png)

---

<div class="post-metadata">

**Author:** ![Chaofanatic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chaofanatic](https://forums.unrealengine.com/u/Chaofanatic)\
**Post date:** [September 9, 2016, 8:22pm UTC](https://forums.unrealengine.com/t/wrapping-decal-like-material-possible/321059/2 "2016-09-09T20:22:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![HenningAx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HenningAx](https://forums.unrealengine.com/u/HenningAx)\
**Post date:** [September 9, 2016, 8:36pm UTC](https://forums.unrealengine.com/t/wrapping-decal-like-material-possible/321059/3 "2016-09-09T20:36:10Z")

</div>

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