# Problem with ddy and ddx in shader in combination with Nanite

**URL:** <https://forums.unrealengine.com/t/problem-with-ddy-and-ddx-in-shader-in-combination-with-nanite/754827>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [January 22, 2023, 7:00pm UTC](https://forums.unrealengine.com/t/problem-with-ddy-and-ddx-in-shader-in-combination-with-nanite/754827 "2023-01-22T19:00:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [February 2, 2025, 10:15am UTC](https://forums.unrealengine.com/t/problem-with-ddy-and-ddx-in-shader-in-combination-with-nanite/754827/4 "2025-02-02T10:15:17Z")

</div>

See this post

> [@Nanite mesh and UV seams](https://forums.unrealengine.com/t/nanite-mesh-and-uv-seams/2044590/3):
>
> I believe the reason for this is explained in this talk [https://www.unrealengine.com/en-US/blog/take-a-deep-dive-into-nanite-gpu-driven-materials](https://www.unrealengine.com/en-US/blog/take-a-deep-dive-into-nanite-gpu-driven-materials) The relevant section is page 23 of the PDF. Essentially, it has to do with mipmapping and nanites manner of merging material rendering into a single full screen pass. Messing around with a nanite mesh’s UVs can interfere with the way nanite addresses this, causing a UV seam in manners that may not have been a problem with non-nanite meshes. You may…

---

_[View the full topic](https://forums.unrealengine.com/t/problem-with-ddy-and-ddx-in-shader-in-combination-with-nanite/754827)._
