# POM with Pixel depth offset breaks nanite mesh rendering.

**URL:** <https://forums.unrealengine.com/t/pom-with-pixel-depth-offset-breaks-nanite-mesh-rendering/1184663>\
**Category:** Rendering\
**Tags:** parallax, unreal-engine, bug-report, Nanite, question\
**Created:** [May 31, 2023, 3:08pm UTC](https://forums.unrealengine.com/t/pom-with-pixel-depth-offset-breaks-nanite-mesh-rendering/1184663 "2023-05-31T15:08:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [May 31, 2023, 3:08pm UTC](https://forums.unrealengine.com/t/pom-with-pixel-depth-offset-breaks-nanite-mesh-rendering/1184663/1 "2023-05-31T15:08:55Z")

</div>

POM with Pixel depth offset breaks nanite mesh rendering. The far away polys of the road flicker in and out by angle… the screenshot attacked has both nanite and non nanite road compared. Weird thing is the puddles are part of that material so those missing nanite polys are only rendering the puddles on those polys. They are not decals… so its very odd since they are part of the material … they just flatten out hte pixel depth offset where there is water. Its odd the rest of it turns transparent. It is not a transparent material.

From what I could tell… disabling pixel depth offset fixes this.

 ![pom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/e/e0e6183b0655f26a470f1f15e538c1e4ef2ffdd8.jpeg)

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [May 31, 2023, 3:19pm UTC](https://forums.unrealengine.com/t/pom-with-pixel-depth-offset-breaks-nanite-mesh-rendering/1184663/2 "2023-05-31T15:19:57Z")

</div>

I also noticed this when I was testing it, an easy solution is to just lerp the PDO to 0 by distance.

Unfortunately I also discovered that PDO is obscenely expensive on Nanite meshes, so I just opted to not use it at all.

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [May 31, 2023, 10:38pm UTC](https://forums.unrealengine.com/t/pom-with-pixel-depth-offset-breaks-nanite-mesh-rendering/1184663/3 "2023-05-31T22:38:53Z")

</div>

how expensive compared to nonnanite meshes?

---

<div class="post-metadata">

**Author:** ![kurylo3d](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kurylo3d/32/1150889_2.png) [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Post date:** [May 31, 2023, 10:44pm UTC](https://forums.unrealengine.com/t/pom-with-pixel-depth-offset-breaks-nanite-mesh-rendering/1184663/4 "2023-05-31T22:44:45Z")

</div>

also out of curiosity… if i made the entire street a high poly nanite mesh… would mesh streaming only stream the polygons close to you or the entire mesh at the same time? Trying to figure out how nanite would handle polys from a mile away on the same mesh.

For example virtual texturing only streams in teh parts of the mesh you see and im pretty sure by distance as well.

An obviously for the next question if it were to be 1 giant high res mesh for the road… how do i handle the puddles? i have no way to displace based on where the puddles are…
