Light select with SSS material does not match lighting pass

The light select pass (when set to “diffuse”) should be the same as a lighting pass for the selected light(s). However it instead also includes SSS info in the pass. This means it is not possible to recreate the beauty when using light selects.

As a work around I tried this in comp:
LightSelect - SSS, clamp

+ SSS + specular = beauty
This get’s close but does not quite match

I wanted to check into see if this was on your “to do” list for future updates?

thanks!

Yes, we have that issue into our bug-tracking system but is is not fixed yet.
We’ll keep you posted.

Wondering if this will be fixed for SP1 (Vray 3.1)?

No, it’s not fixed yet.

Bummer. Once it is, what would be ideal is to have a new drop-down menu option for SSS. So the choices are normal, raw, diffuse, spec, and SSS.

Yes, that would be a good upgrade when the main issue is fixed. We will keep you posted.

I got this on the max side, the fix was to render the light select in diffuse mode and use the diffuse filter to divide it to make a new raw - you’ll get the sss bits in there. Admittedly it’s not perfect since the result is sss + whatever diffuse was also in the material but it might be good enough for you in this case.

Good tip, John. Hope this trick works on Maya side as well. Will need to test it out. Does this trick work when there are multiple Light Select AOVs? Were you able to put together a matching comp result to the beauty?

Yep - what happened was the raw didn’t contain the sss data but the diffuse did so making my own raw via the diffuse filter made something that recombined directly. It helped quite a bit with the 2 sided material too, that had some weird tints on edge pixels on a load of trees so making your own raw light was nicer.

Likewise I think the raw lighting and GI didn’t perfectly match on the sss so sss / diffuse filter gave us a useful raw light here too.

Cool. Thanks again John. I need to play with this in Nuke to learn.

By the way John, are we able to pull a similar trick to isolate the GI from each light select? If yes, we pretty much can achieve what Maxwell can do with its MultiLight feature to re-build the beauty completely, though in more complex fashion in post…

Light select is the direct light only unfortunately, currently GI can’t give you the gi for a particular light either, it’s a shared pass so there’s no way to do exactly what you say.

I see. Thanks for the clarifications. Talked to Vlado before about this and believed we will get there (isolate GI contribution on per-light basis) one day. :slight_smile:

Yeah - I think it’s handier to do the more we use brute force / per pixel methods rather than irmap.

When you say “diffuse filter” do you mean the diffuse RE?
Lighting / diffuse = raw light

Maybe I’m crazy, but is it possible that it has been fixed?

I did a render just now and it looks like the lightSelect set to “diffuse” is only returning the diffuse contribution of a SSS2 material (as it should) and leaving the SSS out.

There aren’t any changes made to this .
Hmm, I think the issue is in the difference in comp between the Light Select Diffuse/s and Lighting element when SSS2 is present in the scene. Can you try to render that scene with older build?

So I did a test of this, and it is not working for me. I made a sphere with SSS2 on it, put one light on it, and set up a light select for it. Then in Nuke I did
lightSelectRaw / diffuse, expecting this to look like the SSS pass. Instead it was blue. Note that on the SSS2 material the diffuse amount is set to zero.

Am I doing something wrong?

Righty - so light select diffuse / diffuse filter gives you the raw light hitting the surface of your sss object - I used the ketchup preset so my object is red. My resulting light is blue since the red bits are absorbed and scattered, the blue bits are bounced back. My sss2 divided by the diffuse filter gives me the raw sss.

The light select raw only includes the direct hitting diffuse light, it won’t contain any of the sss light scattered in your object, you’ll have to also get some of the data from your sss2 pass. Here’s a wee recombine and grade from vray 3.2 max - Dropbox - Error - Simplify your life

Thanks for the file. Here’s where I’m still stuck. what we want to be able to do is use lightSelects to say: “Here are all the passes from the key light: lighting + sss + spec + reflection = key light beauty. Now here’s the same for the bounce light: lighting + sss + spec + reflection = key light beauty. Now we add those two together at the end”

The problem is that the sss pass would have both the key and the bounce light in it. The lightSelect just has one, but it is missing the SSS contribution. Your example only has one light, so I can’t see how this would function when there was more than one light (hence the need for a light select).

Knowing you, you’re a super smart dude, so I’m guess that your solution works, and I’m just not getting it yet. So I’m still prodding :slight_smile: