How could I change a volume's density based on a gradient ramp?

   4755   2   0
User Avatar
Member
407 posts
Joined: Aug. 2015
Offline
Hi;

I would like to change a volume's density based on a gradient ramp or a texture (same as image attached here).
How is it possible?


Thanks for helping.

Attachments:
VolumeBasedOnGradient.jpg (234.8 KB)

Masoud Saadatmand (MSDVFX)
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
I do this all the time. In a volume VOP take the component of P you want to work with and feed it into a fitrange, then a ramp. Output that to Density
User Avatar
Member
407 posts
Joined: Aug. 2015
Offline
Thank you “AndyW”, it works fine.
Masoud Saadatmand (MSDVFX)
  • Quick Links