Yep…I´m a bit lazy on this one, but I just haven´t seen it directly covered…though I could have missed it.
Anyway, by my own findings I got the global volumetric scattering working decently with sunlight in blender cycles 2.9 and 3.1, with some nodal setups.
This means we are not going to use a cube with volumetric material, but the world set to volume scatter.
A simple point light works, but switching to a sunlight and you know it all goes black, but we can fix that.
Now… I do not know if this is covered here on these forums or if there is a youtube tutorial on it, otherwise I may be willing to record something, though I am not entirely sure I do it absolutely right.
So I am offering a recording on it on youtube…If it´s not there or covered somewhere else?
it´s not going to be the scattering scene below, initially, maybe later though, but a simpler object scene with volumetric lights casting shadows.