Light-link the World ambient light.

One of the first things you see in the World tab is the world background color.

I'm trying to achieve a very specific shadowy look using volume nodes to obscure objects partially. The problem is that although the volume scatter correctly obscures solid objects, it also affects the "background" color that you see, making the surrounding space darker, which I don't want, I want it to obscure the object, but then leave the background unaffected.

I thought maybe light linking would fix this but I see no light link options for the world colors so I'm looking for an alternative.

1 love
Reply
  • Sid Edwards(soundstormlabs) replied

    Okay, so, this actually might be quite a bit more complicated than I thought. I might need something akin to "Light Path Linking" which doesn't exist, but maybe there's a fancy setup for it. 

    So, I basically want the volume cube to obscure a Suzanne, but then not show up anywhere else, only the obscuration effect shows up on the monkey, and then otherwise, it has zero effect on the rest of the scene. How do I...light path link the objects in this way? I'm playing around with the light-path node for the volume shader but don't know entirely how to pull this off.

  • Sid Edwards(soundstormlabs) replied

    The other options is for volume nodes to do the thing that everyone wants them to do, but never does, which is to actually render as the color you set them to.

    So, if I can just make the volume scatter render as the same color as my world background, thus making the volume have no effect on the background color, problem solved.

  • Martin Bergwerf replied

    Maybe use Cryptomatte and the Compositor.

  • Sid Edwards(soundstormlabs) replied
    The compositor huh? I'm surprised I can't do this just natively in the default render engine. It really seems like there shold be a volume or Light Path data configuration that solves this dilemma, I'll look into Cryptomatte though, thanks.