SSS internal shadows

   1541   3   0
User Avatar
Member
948 posts
Joined: April 2008
Offline
Shouldn't SSS work as a volume taking in consideration other geometry inside or on top of it when calculating internal shadows?

If have a sphere with SSS and a cylinder crossing inside of it I can't see the the shadows of the cylinder inside of the sphere ou if I have this same cylinder behind I also can not see the shadow through my sphere, it doesn't seem to interact with anything else besides itself.

Am I missing something or this is normal behavior?

Thanks.
Edited by mzigaib - Aug. 17, 2017 23:07:26

Attachments:
test_sss_m.jpg.e43ca9f21e27ddf75fe7edad5f78eb68.jpg (74.1 KB)

https://vimeo.com/user2163076 [vimeo.com]
User Avatar
Member
918 posts
Joined: March 2014
Offline
Hi, you're not missing anything. The BRDFs currently used for SSS do not sample the volume of an object.
You may try to add the same geometry as a volume and have the surface geometry with transparency. IIRC the ocean tools or some flip shelfs provide an example setup.

There's also the physhader [github.com] which has a utility node to check for objects inside objects. This helps with (lower resolution) volumes not sticking outside of the surface.

I hope this helps.

Andy
User Avatar
Member
948 posts
Joined: April 2008
Offline
Thanks for the info dude!

Cheers!
https://vimeo.com/user2163076 [vimeo.com]
User Avatar
Staff
428 posts
Joined: Sept. 2016
Offline
Andy58 is correct. You'll need to use a volume shader. Most implementation of SSS are approximations based on irradiance on the outer surface (ie the surface that's directly visible by the light).
  • Quick Links