It’s doing shadow acne because we are doing visibility=1-e^(-c*(z-d))
with e^(-c*(z-d))
being clamped to 1 if it goes over 1, which is what is happening when d > z
because -c*(z-d)
is a big positive number. So, in that case 1-e^(-c*(z-d))=0
=> shadow acne.
1 Like