1
$\begingroup$

enter image description here

how do i set up a material so that im able to set up the falloff of an volumetric object from its surface? i basically want the density at the center of the object to be normal while i can make the outside fade into a lower the density, like a gradient. like this ball but on a different object.

$\endgroup$
1
  • 1
    $\begingroup$ Hello, is it not what the Principled Volume is supposed to do? $\endgroup$
    – moonboots
    Commented Mar 11 at 6:48

3 Answers 3

0
$\begingroup$

That is what Volume Absorption (or Principled Volume) are supposed to do in Cycles (in Eevee you can use the Mesh to Volume system):

enter image description here

$\endgroup$
0
0
$\begingroup$

For the spherical shape it can be done with Spherical gradient (3D texture).


Similar like here I used Linear gradient just to make it easier visible the effect (make it more solid at right side).

enter image description here enter image description here

For more complex shades you would need to somehow calculate distance from surface ... that I'm not sure if possible now.

$\endgroup$
0
$\begingroup$

You can also convert the mesh to volume in geometry nodes and use a principled volume shader:

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .