# Stencil in masked materials

**URL:** <https://forums.unrealengine.com/t/stencil-in-masked-materials/225754>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine, FeatureRequest\
**Created:** [April 22, 2021, 11:12am UTC](https://forums.unrealengine.com/t/stencil-in-masked-materials/225754 "2021-04-22T11:12:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glob](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Glob](https://forums.unrealengine.com/u/Glob)\
**Post date:** [April 22, 2021, 11:12am UTC](https://forums.unrealengine.com/t/stencil-in-masked-materials/225754/1 "2021-04-22T11:12:27Z")

</div>

So I’ve seen a few posts about this from years ago… figured I wouldn’t necro.

Basically, what the title says;  
I’m wondering if there’s some underlying reasons why we can not access the stencil buffer in masked materials?  
Translucent materials just don’t work well with concave/hollowed out objects.

---

<div class="post-metadata">

**Author:** ![ZkarmaKun](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zkarmakun/32/1194545_2.png) [@ZkarmaKun](https://forums.unrealengine.com/u/ZkarmaKun)\
**Post date:** [April 22, 2021, 4:42pm UTC](https://forums.unrealengine.com/t/stencil-in-masked-materials/225754/2 "2021-04-22T16:42:39Z")

</div>

Hello  
I asked in UDN about how to modify the source code, it seems to be possible, aside the small hiccup in performance. I was checking the code but I got another priorities, it will be cool to have it implemented in UE vanilla. Plus the fact I will not have to burn my eyebrows reading the thing haha.

I agree I wish they consider the petition for future.

Cheers

---

<div class="post-metadata">

**Author:** ![Glob](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Glob](https://forums.unrealengine.com/u/Glob)\
**Post date:** [April 22, 2021, 6:51pm UTC](https://forums.unrealengine.com/t/stencil-in-masked-materials/225754/3 "2021-04-22T18:51:37Z")

</div>

It’s honestly such a shame there is no easy option for it! Meh…

Thanks for the info!
