KeyShot Forum

Technical discussions => General discussion => Topic started by: LeoH on June 30, 2016, 02:41:13 PM

Title: Subsurface scatter pass?
Post by: LeoH on June 30, 2016, 02:41:13 PM
Hey.

I just wanted to know if there is a way in keyshot to render out a pass of the SSS separate from the rest of the image?
The way that I would normally do it in other software is to have no specularity, make the diffuse 100% black, make the SSS colour white and render the image against a black background. The result would be a black image with white in the areas of the subsurface scatter. I would then use this as a layer mask in Photoshop when compositing.
Unfortunately I'm unable to do this in Keyshot as turning the diffuse to 100%black stops and scattering from coming through.
Does anyone know a possible work around for this?

Cheers,
Leo
Title: Re: Subsurface scatter pass?
Post by: bdesign on August 21, 2016, 07:22:07 AM
Hey Leo-

Here is a workflow to get an SSS mask. In my examples I used a Translucent (Advanced) material. Set the Surface Color to black, Subsurface Color to white, Specular to black, Environment Background Color to black. It will appear to be solid black in the viewport. Render out as an EXR (it will still appear to be solid black). Open the EXR in Photoshop, apply an Exposure Adjustment Layer, and increase the exposure to bring back the SSS information. Finally, desaturate the image. The example images below are:

1. Raw beauty render
2. SSS mask (after Exposure Adjustment Layer)
3. SSS mask applied to a Hue/Saturation Adjustment Layer
4. SSS mask applied to a Layer Style

Hope this is helpful :)

Cheers,
Eric
Title: Re: Subsurface scatter pass?
Post by: Esben Oxholm on August 21, 2016, 08:46:22 AM
Nice tip, Eric!
Very cool. Thanks for sharing.
Title: Re: Subsurface scatter pass?
Post by: bdesign on August 21, 2016, 08:49:51 AM
Absolutely, Esben! Thanks very much man :)

Cheers,
Eric
Title: Re: Subsurface scatter pass?
Post by: DMerz III on August 23, 2016, 01:02:37 PM
Wow Eric, you've done it again! Nice solve!

Title: Re: Subsurface scatter pass?
Post by: bdesign on August 23, 2016, 06:49:22 PM
Thank you, dmerziii!  8)