dual lobe bug

Issue #146 resolved
Alessandro Padovani created an issue

tested with daz studio 4.12.0.86, blender 2.83.3, plugin commit 25cc2c4

It seems the dual lobe disables the geometry cutout when we set as import options the principled refraction without automaterial. This way an invisible object in daz studio is imported as visible in blender. If we set automaterial then everything works fine. If we don't use dual lobe the scene imports fine with standard specularity and no automaterial.

This issue causes artifacts with some daz assets if we don't set automaterial. I included a test scene with a simple sphere having dual lobe and zero cutout, so the sphere is invisible in daz studio, while it is visible in blender.

Comments (3)

  1. Thomas Larsson repo owner

    Fixed in latest commit. The problem was that I was being clever and used the alpha slot of the principled node for cutout. But this only works if there are no nodes after the princpled one. Now the final result is mixed with a separate transparency node instead.

  2. Alessandro Padovani reporter

    Commit 1c63a38 works great for what I can test. If opacity = 0 the whole material is optimized with a single transparency node that’s very clever indeed. Thank you Thomas for the fix.

  3. Log in to comment