I attempted to mix a Glass shader and an SSS shader based on ray length to simulate a material that has many particles in it, scattering light that travels farther through it.
Node setup:
However, I get this:
Manually setting the Factor of the mix shader anywhere in between 1
and 0
gives this (renders of 1
, .5
, and 0
):
What is causing this darkening and how can I get the desired result?