Hi,
I'm trying to use the Atmosphere Volume and the Toon node together but quite understandably I'm getting this look as the toon shader is naturally being applied as a post effect.
Anyone have any idea how to get around this? Or do I just have to accept that I can't use both?
Thanks,
Nelson
It's a labor intense work to sync up and working in 1 pass.
You can tell the toon edge to print a solid color, you can also tell the toon edge to take the distance between the view point and a point.
distance(I,P);
Then the toon lines can disapear into a density grid.
However, this only works for very basic volumetric lightning kits that are mostly only tied up to the camera view angle.
For more complex scenarios, you would need to port the geometry into an OSL shader and process the sync module up, this is the labor intense method, and it should work in al cases, be warned, need lots of coding and lots of R&D for even simple scenes, but technically, it can be done.
So and with respect to that, I would use 2 passes.