# Scenetexture::CustomStencil is not reading the stencil correctly on Mobile

**URL:** <https://forums.unrealengine.com/t/scenetexture-customstencil-is-not-reading-the-stencil-correctly-on-mobile/489121>\
**Category:** Rendering\
**Tags:** Mobile, stencil, unreal-engine, question\
**Created:** [September 24, 2021, 1:21am UTC](https://forums.unrealengine.com/t/scenetexture-customstencil-is-not-reading-the-stencil-correctly-on-mobile/489121 "2021-09-24T01:21:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xiangming\_Lu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xiangming\_Lu](https://forums.unrealengine.com/u/Xiangming_Lu)\
**Post date:** [September 24, 2021, 1:21am UTC](https://forums.unrealengine.com/t/scenetexture-customstencil-is-not-reading-the-stencil-correctly-on-mobile/489121/1 "2021-09-24T01:21:51Z")

</div>

On Mobile. Scenetexture::CustomStencil is not reading the depthstencil buffer, instead it is reading from a unorm custom buffer based on the gpu capture. This results the stencil write mask not function on Mobile since the mask is applied to depthstencil buffer not the unorm custom buffer.

---

<div class="post-metadata">

**Author:** ![Xiangming\_Lu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xiangming\_Lu](https://forums.unrealengine.com/u/Xiangming_Lu)\
**Post date:** [October 5, 2021, 12:49am UTC](https://forums.unrealengine.com/t/scenetexture-customstencil-is-not-reading-the-stencil-correctly-on-mobile/489121/2 "2021-10-05T00:49:57Z")

</div>

any ETA for a fix?
