Link:INB Home|INB English| INB русский язык|INB العربية|INB Türkiye|INB فارسی|INB Español|INB Français|INB Português|INB Deutsch|INB 國語|INB 中文|INB 日本语|INB 한국어|INB ภาษาไทย|INB tiếng Việt||Maya Tutorial Human Skin Shading 2/2
INB English forum
Welcome to (Industry & Native boffin) The industrial age here is full of fighting spirit, you and I both through this network space with Native biological spirit boffin came to the mad labs. home INBforum.com, come and join us Permanent name: inb-english.forumotion.com
INB English forum

Welcome to (Industry & Native boffin) The industrial age here is full of fighting spirit, you and I both through this network space with Native biological spirit boffin came to the mad labs. home INBforum.com, Permanent name: inb-english.forumotion.com


You are not connected. Please login or register

《《《《《《《上一页INBforum   Go down

上一页INBforum》》》》》》》View previous topic View next topic Go down  Message [Page 1 of 1]

1 Maya Tutorial Human Skin Shading 2/2 on Fri Sep 24, 2010 2:00 am

Admin

avatar
Admin
shader I use came from Tom Kluysken’s ‘Maya Queen’ site, and has been attributed to Duncan Brinsmead and Michelle Borghi – it’s still here (in Tutorials).
Here’s the network in Maya for the translucency-fake (cartoon-shader):
[You must be registered and logged in to see this image.]
.





The ramp hooks into the incandescent channel of a transparent Lambert. Now layer that on top of your first skin-colored Lambert. (Layering shaders in Maya is very simple – one shader is just ’stacked’ on top of another.)
Now tweak the colors of the ramp, to be bluish on the dayside, reddish on the terminator, and reddish or black on the nightside. In Maya you can go below zero on the Value. Making the Hue blue and the Value any sort of minus, will ’suck’ blue out of that part, and in effect create a very dark and strong orange – this is what I did here, in the terminator. The only problem is, when you need to go back to edit it later the color-editor will not display the correct HSV anymore, so you’ll either have to remember, guess or write it down somewhere…
Note – you can just as well put that cartoon-shader based ‘translucency fake’ in the incandescency channel of the base Lambert shader – it doesn’t have to be layered… I just do it to have a bit of ‘modularity’ – I can use the same layer in many other layered shaders, and when I tweak one of them they all get tweaked. Here’s how to add another level of subtlety to the shader: do what I mentioned above, put the translucency fake not in a layer but in the base Lambert itself. Then copy that Lambert and layer that on top – Maya-note: move the translucency fake out of the incandescence to the ambient channel – this ensures none of the effect is seen in the transparent areas (but you’ll have to increase the intensity of it). (Sorry, I’m not sure if there’s a way to achieve this in any other software.)Then tweak this second cartoon-shader-ramp so it seems right for a ‘bonier’ part of the head, like the skull/forehead (like decrease the width and redness of the terminator). Then simply make this second Lambert transparent over the ‘fleshier’ bits, using a low-res and blurry grayscale texture map.
Highlights[You must be registered and logged in to see this image.]








The highlights are a whole other hornet’s nest of problems. For this reason I like to isolate them on another layer, in fact here I use 2 layers: one for the glancing highlights (like the one on the right), and one for head-on or ‘flat’ highlights (on the left side). They gradually cross-fade into each other as the light revolves around the model.
Both shaders here are transparent PhongE, but they could also be Blinn, it doesn’t matter that much. The important thing is to map whatever parameters the shader has for the highlight so that it changes with regards to the angle of the light that hits the surface. In Maya you can use ramps to control this change. The basis for this shader was Emmanuel Campin’s Backlight Shader (pixho.com)
Lets look at the most important of the two, the glancing highlight. It must become brighter and bluer and wider as the light becomes more and more glancing, finally flaring out into a long thin line in opposing light. Since I have another layer to handle the flatter angles, I make this glancing layer fade out to complete darkness before it hits ‘noon’.
(In fact both layers are always slightly bluish – any specularity on skin must be somewhat blue to counteract the default tendency towards yellow. This can be applied to other organic materials as well, like for instance greenery – in this case the highlight would be red/magenta.)
Any bumpmap should be placed first on these specular layers, and should always be of higher value than one you may put on the base-layer. This increases the illusion of translucency.
[You must be registered and logged in to see this image.]













And that’s it – a higher res (just tweaked with Auto-Levels in Photoshop). The lighting: 8 spotlights – 2 fairly tight clusters of 4 each – and a very weak ambient light below and to the back.The ear could certainly do with a lot more incandescent red in some selected spots, especially in this particular lighting (faking translucency) – hard work but if the image or scene is important it might be worth going the extra mile to add it.Of course you could just use MentalRay, FinalRender, VRay, PRMan or Brazil, none of which I have…

Copyright 2004 Steven Stahlberg www.androidblues.com]

View user profile http://eng.inbforum.com

上一页INBforum   Go down

上一页INBforumView previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

Copyright ©2009-2016 LTD Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

IT:SINGLESERVGoogle谷歌翻译TranslateFORUMSOFTLAYERGoogle谷歌广告联盟AdSenseAsia

 

Free forum | © PunBB | Free forum support | Contact | Report an abuse | Free forum