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.
However, I get this:
Manually setting the Factor of the mix shader anywhere in between
0 gives this (renders of
What is causing this darkening and how can I get the desired result?