PDA

View Full Version : Skin Shader study part 1


tjnyc
05-14-2004, 08:52 PM
Here is a repost of my skin shader approach for C4D 8.5. It isn't exactly the same one as the older one, since I didn't have a backup copy.

http://www.telescript.com/images/tony/skin1.jpg

1. Choosing the right shading model. C4D has three shading models to choose from, Phong, Blinn and Oren Nayer. I was looking for the right model that would be ideal for youthful, moist skin, and with Oren Nayer I was able to get qualities of waxiness, and fluidity to the material. In CG a common problem exist with shading models interms of how they react to light. Mainly that it doesn't mimic how lights in the real world actually wrap around a surface and to effectively depict skin we need lights that will wrap around our models, giving it a real world feel, and without proper ligthing behaviour our effort wouldn't be as convincing. To fake a wrap around look for lighting we would need to lower the diffuse falloff percentage. I have set mine to -30%, but be aware that lower to far will grey out your color. I also adjusted the roughness to get a softer look.

http://www.telescript.com/images/tony/skin2.jpg

2. To start creating our skin shader. I create a layer in the luminance channel. The first layer I create is a noise shader with the following settings. The idea was to create the underlining vein material under the skin.

http://www.telescript.com/images/tony/skin3.jpg

3. I add in another noise shader with the following settings to create another dermal skin material, almost like goose bumps.

Continue...

tjnyc
05-14-2004, 09:07 PM
http://www.telescript.com/images/tony/skin4.jpg

4. Here I add in a falloff effect with the following settings. the idea here was to show redness of the skin from blood/fluids in the body. The falloff effect is controlled in XYZ axis. I have mine set to 0 in X, 1 in Y and 1 in Z, so the falloff is in front and up. It is more than possible to have multiple falloff effects with varying colors to depict other skin quality and depth as well as being controlled by other objects, lights, shader, camera and on on. A very usefull shader.

http://www.telescript.com/images/tony/skin5.jpg

5. Here I add in another useful shader, a fresnel with the following settings. The idea here was to give your model warmth and color from sun exposure and some more depth as well as a bit of peach fuzz on the silhouettes.

http://www.telescript.com/images/tony/skin6.jpg

6. Here I add in my texture map painted in BP R2 in about 15 min. Because of the effectiveness of the skin shader I painted just simple colors and I didn't have to try to make convincing skin textures on my own.

http://www.telescript.com/images/tony/skin7.jpg

7. Optional. If you have access to SSS or other such effects it isn't a bad idea to incorporate it into your material. I used the SSS that comes with Advance Renderer in the 8.5 version. I blended it with "Add" to the rest of my skin shader in the luminance channel.

Note: Leave it on or check it on the use Bump option for frensel and falloff, as it will do a nice job of breaking up the material and gives a less than smooth look which is what real skin tend to look like. For lighting I have my key light at 60% brightness in a studio lighting setup and with soft shadows at 1250x1250, sample radius at 6 and bias (abs) also at 6.


Cheers,

artemesia66
05-15-2004, 01:49 PM
thanks for reposting that. it's a great looking shader. Can I ask what are your settings in the bump, specular and specualr color channels?

flingster
05-15-2004, 03:17 PM
thanks for posting this again tony.
the links:
http://news.bbc.co.uk/1/hi/technology/3683853.stm
http://graphics.ucsd.edu/~henrik/papers/face_cloning/
http://graphics.ucsd.edu/~henrik/papers/bssrdf/

btw are you trying something to do with bssrdf?

slightly OT tuts...but worth a read
http://www.3dtotal.com/ffa/tutorials/maya/human_head/head.asp
http://www.androidblues.com/shadetut.html

Zendorf
05-16-2004, 06:30 AM
Thanks for sharing this tasty shader idea:thumbsup: I will have to sit down and play around with some of these settings...some great ideas there. The new layer is just so damn indispensible for this stuff! I am also curious to know the settings in the other channels if they are relevent....

Essania
05-16-2004, 12:41 PM
Thanks tjnyc, this is a great tutorial.
Now that I have 8.5 I can use it.

Here is the link of your first version, in French, mad by Aurety for the FrenchCinema 4D.

If you need I can translate it back to english.
http://www.frenchcinema4d.com/index.php?p=article&id=39

guypapyrus
05-16-2004, 02:25 PM
I asked this in the original thread, and I got emails informing me that there were responses (though I'm not sure they were responses to my query), but I never saw them before the thread died. In any event, I'll ask my reask my [very n00bish] question.

How exactly do you get layers in a shader channel? For the life of me, I can't figure out how to do this. :shrug:

I know Maxon advertizes "Layer Shaders" as a new feature in 8.5, so I presume it's not a BodyPaint-only feature.

Thanks in advance,
Andrew

guypapyrus
05-16-2004, 02:29 PM
...Found it:banghead: :blush:

guypapyrus
05-16-2004, 02:44 PM
I posted a question that should have showed up before my "Er, nevermind" post, but it was the last "new user moderated" post, so it looks like they'll show up out of order.

Anyway, I found the answer to my own question (about shader layers), so feel free to ignore me. :blush:

Andrew

kaynine
07-30-2004, 07:35 AM
Reviving an old post!

Some of my findings on skin shaders and the method described here...

1) It is worth plugin the bump map into the spec colour. And colourise it blue first.

2) The shader system above plugs all the effects into the luminance channel. Good results can also be obtained by mixing them in the colour channel. Although if you do this, add a hint of red in the luminance channel.

3) Adding SSS - I've yet to be able to get any reasonable results using the SSS shader - but still experimenting.

4) I'd already been using the fresnel channel - helps a lot - but never tried the gradient map. Works a treat - dunno why - but it just does!

Anyway, thanks for the above post - very useful imformation.

wayfaerer
01-30-2005, 03:06 AM
Great tutorial! Many thanks for sharing!!

/\>Scott M C4D</\
01-30-2005, 05:50 AM
What i really want to know is why has she got a bald head.
Great tutorial.
Makes me want to upgrade from 8.2.

Erik Heyninck
01-30-2005, 10:29 AM
Because beauty is only skin deep. Underneath there is only a mes(s/h)...

Zongo
04-08-2005, 03:43 PM
hey,
fantastic tut. helped me alot getting started with my skin shaders!
thanks!

tjnyc
04-08-2005, 04:21 PM
You can also setup just one direct light and ambient-occulsion to match your environment and real-world lighting. Use HDRI for IBL in C4D for the environment lighting, blur and offset as you need to. Use GI with a white material matte for the occulsion part and composite to your beauty-pass, or a texture pass, and a direct lighting pass.

http://www.cgtalk.com/showthread.php?t=199389&highlight=skin


Cheers,

cobrelon
11-09-2005, 06:41 PM
hi tjnyc
can you the material with sources of light without object for the download offer?
Thx :)

Tzrnutt
05-06-2006, 07:07 PM
Would have found this tut quite usefull if the images had shown up :(

Srek
05-07-2006, 07:08 AM
This thread is two years old. It's not unlikely that linked images are not working anymore.
Cheers
Björn

CGTalk Moderation
05-07-2006, 07:08 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.