[SOLVED] Karma XPU: some UVs are rotated 90 degrees

   345   1   1
User Avatar
Member
466 posts
Joined: 8月 2014
Offline
I'm puzzled because I'm seeing this for the first time. I was rendering an asset with XPU and I noticed that some parts have UVs rotated 90 degrees. These areas are rendered correctly on Karma CPU, as well as OpenGL.

There's nothing unusual about the asset. Just a mid-poly object with UVs and MaterialX with some textures. No fancy configuration.

I will continue debugging the scene, as it's possible that I made a mistake somewhere. But meanwhile, I thought I'd ask if perhaps someone already encountered a similar issue and knows what might be causing it.
Edited by ajz3d - 2024年2月11日 19:42:17

Attachments:
uvs_cpu_vs_xpu.jpg (86.9 KB)

User Avatar
Member
466 posts
Joined: 8月 2014
Offline
Okay I found the culprit. It turned out that I had two identical pieces of geometry stacked on top of each other, each with different UVs.

It seems that XPU uses slightly different Z priority than CPU and OpenGL do. Good to know.
  • Quick Links