Ambient Occlusion behind Glas

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
Schmidhuber
Licensed Customer
Posts: 4
Joined: Tue Apr 05, 2016 2:59 pm

Hello everyone,

to get AO behind glass I have done 2 renderings so far. One rendering with glass, one without glass. I then used the 2 renderings in Photoshop.

Is it possible to render AO behind glass in one rendering process or is there another possibility?
Thanks for your input
frankmci
Licensed Customer
Posts: 917
Joined: Fri May 26, 2017 2:00 pm
Location: Washington DC

Internally, Octane considers AO and Refractive Rays as different categories of illumination. Octane Glass/Specular Materials by default allow Refractive Rays to pass, but not Ambient. I suggest you use the Ray Switch node in the Opacity channel of your glass material to make it at least partially transparent to AO rays. Depending on the color/thickness of your glass, you may need to experiment with what value between 0-1 looks correct to your eye.
Attachments
RaySwitch Glass Without and With AO
RaySwitch Glass Without and With AO
Animation Technical Director - Washington DC
Schmidhuber
Licensed Customer
Posts: 4
Joined: Tue Apr 05, 2016 2:59 pm

Ambient Occlusion should be multiplied in Photoshop as an extra layer.
I hope the pictures make it more understandable - it's about AO behind the glass - not in the glass.
Attachments
AO with no Glas
AO with no Glas
AO not behind Glas
AO not behind Glas
1.jpg
frankmci
Licensed Customer
Posts: 917
Joined: Fri May 26, 2017 2:00 pm
Location: Washington DC

Ah, I thought you were trying to avoid compositing all together and wanted control of the AO through the glass surface.
Animation Technical Director - Washington DC
Post Reply

Return to “Maxon Cinema 4D”