arnold-usd
arnold-usd copied to clipboard
Render Delegate: Making a geometry light invisible hides the mesh but not the mesh_light
Describe the bug If you make a geometry light invisible, the light still lights the scene but the mesh is not visible (so you'll see the "for MIS to work properly, polymesh linked to mesh_light should at least be visible to shadow rays" warning in the log).
To Reproduce Steps to reproduce the behavior:
- Make a mesh a geometry light.
- Set visibility to invisible.
- Render with husk or the Solaris viewport.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Used Software Versions
- HtoA 6.1.4.1
Additional context Here's a repro Houdini scene: mesh_light_visibility.zip
Here's the debug ass file: hdarnold.ass.txt
Issue synced internally to ARNOLD-13321
Hiding the mesh is often used to hide the mesh but keep the light as part of the lighting setup.
To get the expected behavior, the mesh light can be made invisible if the mesh's primvars:arnold:light is set to false/unchecked. This should be done on top of setting the visibility of the mesh in order to make both invisible.
Issue synced internally to ARNOLD-13475