1
$\begingroup$

Original shader settingI am using a transparent material but it seems that I only have a transparent surface. How can I get the result that a thinner part of my object is more transparent than a thicker part. I now the answer may be simple but I tried a lot of options but there are simly too many for trial and error. Also I don't find anything like that in the questions. I am using eevee.

I tried the solution with the principal volume and I cranked up the volumetrics samples. The effect is weird. See the second picture.

Image of the result of volume shader

This happens for all the volume shaders. The right object is a cylinder in reality, the left one is a sphere. In a third image I show the shader setting that I have used. Shader setting for result in second image

$\endgroup$
  • 1
    $\begingroup$ Hello :). Please add an image of your material nodes. This can depend on how you're achieving transparency. $\endgroup$ – Jachym Michal Mar 29 at 11:00
  • $\begingroup$ Thanks for the suggestion. I have added the node picture. The volume settings do not seem to have any influence. $\endgroup$ – Georg Schmidt Mar 29 at 11:52
  • 1
    $\begingroup$ Did you try to add some volume shader? $\endgroup$ – Bruno Mar 29 at 12:11
  • $\begingroup$ Hi :). You connected surface shader (Principled BSDF) into volume input. That won't work well. Are you trying to achieve smoke? $\endgroup$ – Jachym Michal Mar 29 at 12:18
  • $\begingroup$ I tried (Volume absorption). It gets me a weird effect. Although I have a cylinder I get a kind of square cushion with some wavyness. I have no idea where this is coming from. $\endgroup$ – Georg Schmidt Mar 29 at 12:19
1
$\begingroup$

You can use Principled Volume for that.

  • Use the Density value to adjust the strength
  • Larger volumes obscure objects more
  • For Eevee, crank up the samples in Render Tab > Volumetrics.

enter image description here

enter image description here

| improve this answer | |
$\endgroup$
  • $\begingroup$ Thanks for the reply. I tried the volume shaders (wanted to post this but the website just had an error. They give the strange result you can see in the image. The internal structure of the result even seems to change with time. Weird. $\endgroup$ – Georg Schmidt Mar 29 at 14:19
  • $\begingroup$ Just checked because you had set the material output to All and I had used Eevee. Doesn't make a difference. $\endgroup$ – Georg Schmidt Mar 29 at 14:21
  • 3
    $\begingroup$ @GeorgSchmidt Eevee doesn't support volumes with shapes other than a cuboid. It currently uses the bounding box of the objects, see: blender.stackexchange.com/questions/141443/… $\endgroup$ – Robert Gützkow Mar 29 at 14:23
  • $\begingroup$ Thanks, that seems to be the point. I switched to cycles and now it works. Thanks to all of you. $\endgroup$ – Georg Schmidt Mar 29 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.