Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: steppes on 2022-11-07, 10:12:57

Title: restrict AO to normal side
Post by: steppes on 2022-11-07, 10:12:57
Hi all!

Is there a way to restrict AO or dirt only to be affected by the positive normal orientation?

I mention that objects from "behind", from the inside, affect the AO, which gives wrong results. Hard to explain. Imagine placing a cube intersecting another cube and the faces are closer than the AO radius is. Then the complete invisible inside geometry is affecting the AO...
Title: Re: restrict AO to normal side
Post by: tiagosaraivacg on 2022-11-07, 18:54:50
if i understood, you could use the "normal direction" has a mask, and on 1 side you use a AO and on the other you don't...

(https://i.ibb.co/Ttkspxd/Captura-de-ecr-2022-11-07-175302.jpg) (https://ibb.co/BBt9d5F)

my result:

(https://i.ibb.co/HtBrn3t/Captura-de-ecr-2022-11-07-175400.jpg) (https://ibb.co/pfb3J5f)