Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HDR is showing through transparent object with Background

5 REPLIES 5
Reply
Message 1 of 6
jrw2
470 Views, 5 Replies

HDR is showing through transparent object with Background

I guess this could be a bug that came up in one of the recent updates as I don't remember C4DtoA behaving this way in the past. When using a Background object with white material in combination with an HDR image as light source on a Skydome, the HDR image shows through a transparent object.

3776-snapshot-45.png

My current workaround is to put a white plane behind the scene to "block out" the HDR image. Is there a better solution or is this a bug?

5 REPLIES 5
Message 2 of 6
peter.horvath6V6K3
in reply to: jrw2

A ray first hits the skydome and than the background, but the background is disabled for transmission rays by default, that's why the HDR shows up.

Go to the Arnold Render Settings > Diagnostics > User options and type background_visibility 9 in the field. It should make the background visible for camera and transmission rays.

Message 3 of 6
jrw2
in reply to: jrw2

Adding background_visibility 9 makes no difference. Version is 2.5.1.

Message 4 of 6
peter.horvath6V6K3
in reply to: jrw2

Can you send me your scene?

Message 5 of 6
jrw2
in reply to: peter.horvath6V6K3

Here is a test scene:

background-issue.zip

Message 6 of 6
peter.horvath6V6K3
in reply to: jrw2

The Background object actually overwrites background_visibility, that's why it's not working, sorry. If it's just a color, as a workaround you can use a ray_switch_rgba shader in the skydome material and use the color as the specular transmission. However it does not work when you want to use a texture as the background. I don't think we have a workaround for that at the moment. But hopefully we can add support for transmission soon.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report