Gnomon Workshop Skin Shader Tutorial

I just saw that the this very cool tutorial about my mental ray skin shader (good old misss_fast_skin), which I enjoyed very much, and I wholeheartedly recommend as a good tutorial on how to use the shaders.

Alex Alvarez has made an over two hours long video tutorial in three parts which can be downloaded from the Gnomon Workshop webpage. It's very informative and teaches many cool tricks.

A couple of details about the tutorial, though, that I thought was worth nothing:

Radii stuff

The tutorial started out by "trial and error" to find the various scattering radii. While this may be "good" as a "understand what does what" thing, I really missed my "rules of thumb" from my written SSS tutorial (available here) about the various values for the scatter radii (i.e. that the subdermal should be "about an inch" and the epidermal "about a third of an inch"). The defaults that are there are actually good if your scene is in millimeters.

Color mapping stuff

Generally, colors are not mapped in the "overall" unless you "know" what you are doing. Yes - as Alex finds out, doing it may make more intuitive sense, and may appear more "predictable" if one expects the "final color" to "look" as the "texture color".

However, the whole intended workflow of the shader is actually not to do that!

Because a lot of the "red tone" of skin should actually come from the subdermal and epidermal layers and actually hardly be present in the color map at all.

I.e. when the shader is "fully" utilized, the color map shouldn't "look" like skin at all; it should look like the skin would look if you peeled it off it's fleshy underpinning (yuck!).

It is true that some highly pigmented areas such as skin "moles" or the lip colors indeed map better in the "overall"... this is because they are a layer "on top" of the rest of the skin and actually "filter" the underlying light (blocking it) and for the lips or for skin moles, mapping "overall_color" indeed makes sense.

I fully understand that this "intended" workflow is very counter-intuitive to the lay person, but skin is such a complex substance with a lot of interaction of light between flesh, blood and the actual epidermal skin layer, it can't be as simple as "map a color map to a Blinn".

Bump stuff

I reall missed any mention about that the "appearance" of the bumps is strongly defined by the "balance" between the "diffuse" and "epidermal" layers... because the bump only applies to the unscattered "diffuse" layer, and the "epidermal" layer looks very similar to the diffuse layer, but slightly scattered and without bumps - hence one of the most important "look development" tools for the skin is to balance these two. I would actually want to see more of that rather than Alex's attempt to "blur" the bumpmap, which I do not think one should do.


Oh, I hate to break it to Alex, but fresnel is pronounced "frenell" [fre…™ 'nel] - 'tis the name of a french dude. ;)


The fact that Alex used something other than the build in reflectivity I can understand... but I pity the choice of the standard Maya "Blinn". I wholeheartedly suggest to use the mia_material for the reflectivity layer of skin, especially utilizing the "refl_hl_only" flag for superfast "skinny" reflections - more on that in a future post here.

I also strongly suggest to have a high "edge" reflectivity at all times, and generally let the specularity levels "follow" the levels of reflections (after all, "specularity" is really only just reflections of light sources...)


The reason the skin shader has 2 layers of specularity isn't really to support different "areas" of skin, it's actually to change the shape of the specular "lobe". The traditional "phong" model with it's "cosine-raised-to-a-power" shaped lobe isn't really very suitable for skin, but by blending a couple of such lobes you can get a combined effect that is.

But all this whiny nit-picking aside, the tutorial is a fantastic piece of work, and I'm impressed with the time Alex took to make it (it's over two hours long!). It's well worth a download for anyone into skin shading in mental ray!

Thanks Alex for making it, and I hope you take my comments in a constructive manner!



ripper said...

"I wholeheartedly suggest to use the mia_material for the reflectivity layer of skin, especially utilizing the "refl_hl_only" flag for superfast "skinny" reflections"

Do you mean some how using mia specularity on top of fast miss in a render( I cant find "refl_hl_only" flag enywhere in Max material editor). Or did you mean rendering different passes?

Alberto said...

Hi! How can I make wet skin like this, with the SSS Fast Skin? Is it even possible. Like in this picture:


Alberto said...

Thanks for answering:-) Yes would it be possible to do it with multiple renders, and how? The results I get with sss fast skin are quite good, but it never feels really wet. Maybe the Specularity and the reflection settings in the sss fast skin material aren´t enough to get the job done? Thank u:-)

Joe said...

Hello Zap. I would like to ask you with what I should connect the refl_hl_only. Should I connect it with the "Reflect_weight" of the "miss_fast_skin_shader", or another slot? If I do it in the "Reflect_weight", the Model gets to shiny.


johnfreefly said...

I was wondering, is there a way to plug an ambient occlusion node?, I think the shader has an occlusion built in already but I want to make it more visible, and be able to change the ambient shadow distance etc.

Thank you.

koonal.Rajguru said...

Hi zap it was very nice of you to give all of us tips and tricks on mental ray shaders.

I am using maya and i love the alex tutorial on sss.

the only question i have is How can i make the watery feel on skin,fruits etc

have a look at the image


Is their any tutorial by you on how to use sss material exactly in maya or documents..

koonal.Rajguru said...

plssssss reply to my comments

Master Zap said...
This comment has been removed by the author.
Master Zap said...

Have you checked my post "Beauty isn't only skin deep".... http://mentalraytips.blogspot.com/2008/04/beauty-isnt-only-skin-deep-combining.html

It shows how to combine mia_material with the skin, which allows you a lot of effects like this....