Ok, so quick question: how can I sample the density of a volume (a cloud) and have the low density values exhibit more of a texture or an effect in a SHOP network?! In other words: can I use the density to mask certain mix nodes, or use it as a weight for a multiply etc?
I've tried a multitude of things, but I'm afraid I lack a deeper understanding of volumes in houdini (and in general). I'm not even sure how the density is stored, or what are the exact differences between ‘density’ and ‘cloud density’ and where to begin learning about these. So if anything, I would greatly appreciate if someone would at least point me in the right direction.
Dive inside the UniformVolume shader inside of SHOP. You will see how to reference in the density attribute. In this screenshot I routed the density to the bias of a color mix. Basically you can use the color of the connectors to determine what can connect to what.