I’m playing with material nodes and I would like to know if it is possible to get the color from a bsdf socket. I would like to use the color as the Fac input of a Mix shader to display a different shader on the shadowed part of my object. I’ve tried to connect the bsdf directly to the Fac or through a ColorRamp but the result remains the same : the result is uniform, as if I’ve input a plain color.
Is it doable ? Do I have to use an OSL script ?