thickness dependent transparency I 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.



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.
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.