Slowdown when using Opacity Map [XPU]

   776   3   1
User Avatar
Member
1 posts
Joined: Aug. 2020
Offline
Hi, I am very impressed with the Houdini20+KarmaXPU update.

However, when using opacity maps, the rendering speed is much slower than without them.
Is there a feature like "OpacityMode-Clip" in V-ray or "Clip mask" in Clarisse?

I hope there is some workaround or update to this.

Thank you.

Attachments:
with.png (3.3 MB)
without.png (3.1 MB)

User Avatar
Member
7803 posts
Joined: Sept. 2011
Offline
the gltf surface material has an alpha clip mode but I'm not sure if it works with XPU
User Avatar
Member
130 posts
Joined: Jan. 2015
Offline
Curious about this as well.
User Avatar
Staff
477 posts
Joined: May 2019
Offline
Its more that opaque shadows in XPU are very fast, rather than semi-trans shadows being slow. Its because there is a very fast hardware path we can take for shadows when we know geometry is opaque. When it is anything else (eg semi-trans, cutout-alpha, etc...) then we need to execute a shader for each hit, which slows down traversal a lot.

I'm curious if you get any speed benefit from emulating your own "clip" opacity mode.
It can be done easily with materialX (see attached scene)
Also, the USDPreviewSurface does "clip" opacity by default, so you could try use that instead.

Attachments:
clip_opacity.hip (233.2 KB)

  • Quick Links