Search the Community
Showing results for tags 'thickness mask'.
Found 1 result
Hello all, I'm trying to find a way to create a thickness mask - I'd like to use it on a mesh surface to generate a faked subsurface look. My general idea is that I would fire a ray from the camera position to each point of the mesh, then measure the distance to the next surface each ray hits. I'm sure you could then fit range that, and store it in @Cd or a custom float attribute. Does anyone have any hints on how to go about that (or maybe there is already a prebuilt method of doing so?). Thanks!