Hi! Is it possible somehow to measure the width of a volume along given axis in surface shop? I want to make shader which will colour my volume based on its width (or lets say density) along some vector.
The only problem is , that if the sum of densities equals more than 1, I do NOT want to stop computations, so it should work with really dense volumes too.
How could it be done?
Thank you!