# 5.1 Nanite not able to write to stencil buffers

**URL:** <https://forums.unrealengine.com/t/5-1-nanite-not-able-to-write-to-stencil-buffers/746933>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [January 11, 2023, 10:13am UTC](https://forums.unrealengine.com/t/5-1-nanite-not-able-to-write-to-stencil-buffers/746933 "2023-01-11T10:13:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [January 11, 2023, 12:15pm UTC](https://forums.unrealengine.com/t/5-1-nanite-not-able-to-write-to-stencil-buffers/746933/2 "2023-01-11T12:15:29Z")

</div>

There is a commit for Add ability to render Nanite in the custom depth stencil pass. [https://github.com/EpicGames/UnrealEngine/commit/38657d35af200c5cb1095](https://github.com/EpicGames/UnrealEngine/commit/38657d35af200c5cb1095)

---

_[View the full topic](https://forums.unrealengine.com/t/5-1-nanite-not-able-to-write-to-stencil-buffers/746933)._
