Opacity difference XPU vs CPU

   522   4   2
User Avatar
Member
6 posts
Joined: May 2019
Offline
Hey folks !
Problem here driving me a bit crazy, I am trying to get a proper leaves material for differents kinds of trees, and as soon as I get a "thin" opacity map for pines needles for examples, I got a very annoying issue...

Not only the opacity does not react exactly the same, my leaves vanished when zooming out. Only rendering in xpu, no problem in cpu.

Cpu renders :



Xpu renders :


My Nvidia studio drivers are up to date, Houdini 20.0.653

I would think about some kind of mipmapping issue, but not sure.

-Coco
Edited by Ackiparait - March 28, 2024 18:15:30

Attachments:
Capture d'écran 2024-03-28 230814.png (13.6 KB)
Capture d'écran 2024-03-28 230603.png (126.7 KB)
Capture d'écran 2024-03-28 230646.png (104.6 KB)
Capture d'écran 2024-03-28 230745.png (20.2 KB)

User Avatar
Member
31 posts
Joined: Aug. 2011
Offline
Maybe mipmap thing. Try this in your env : KARMA_XPU_DISABLE_MIPMAPS=1
User Avatar
Member
6 posts
Joined: May 2019
Offline
MR SMITH
KARMA_XPU_DISABLE_MIPMAPS=1
Thanks for your repply, I just tried and indeed I have a better result. Is there any way to handle the mipmapping for a specific map ? Disabling mipmapping for an entire environment scene might be a bit problematic.

In my case this seems kinda related to this topic [www.sidefx.com]
User Avatar
Member
19 posts
Joined: Aug. 2020
Online
Could you decrease the mipmap levels just for that texture, but you would need to preconvert with imaketx instead of letting karma xpu auto generate .rat.
User Avatar
Member
6 posts
Joined: May 2019
Offline
Hey ! Just found out that changing the Map filtering to closest helps a little bit. Otherwise my leaves are disappearing in the distance.
Is There a way to totaly disable the filtering of a specific Map or to get a better optimization of a clipping / cutout Map ?
  • Quick Links