Profile Picture

Digital human shader Tutorial

Posted By Warped Reality VFX 5 Years Ago
You don't have permission to rate!
Author
Message
Warped Reality VFX
Warped Reality VFX
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 385, Visits: 8.3K
https://forum.reallusion.com/uploads/images/13f164b7-66fb-4664-81e2-807b.jpg
https://forum.reallusion.com/uploads/images/e5077fa2-dbc0-4de9-b7f3-6eaa.png
Today we are going to take content that we want to apply the DH shader too, other than CC3 characters such as objects and older characters or items imported through 3DXchange
SSS will be able to apply to props and accessories in iClone v7.8 and CC v3.3.  The non-cc character will be supported too, till then this method will allow you to apply the shader.
So let's get started.
1. Import any CC3 character that has the DHS  applied to it,  in this example I've imported the character Jody into iclone.
https://forum.reallusion.com/uploads/images/5cf006a1-88ba-437e-8656-a5f3.jpg
2. Once inside iclone, this is the character we will sample from to get the shader and transfer from Jody to Chuck.
3. Select Chuck or the character you wish to apply the shader too. In my case, it is our friend, Chuck, with Chuck selected you will need to export all skin textures you will be applying the shader too, we will need these later. I've saved mine to the desktop in a folder named chuck. In the case of Chuck, I have saved the face hands and torso texture which contains the neck and the arms.
https://forum.reallusion.com/uploads/images/7c2611e1-2d91-4389-9b9e-bb17.jpg
4. Select the character Jody with the pick material tool, select Jody's face, use the paint material to apply it to Chuck's face, now Chuck has bad plastic surgery.
https://forum.reallusion.com/uploads/images/de75c511-ec91-4154-bc53-4cee.jpg
Let's fix that, go to the folder where you saved your textures and replace the face textures I inverted chucks roughness map.
https://forum.reallusion.com/uploads/images/8f8cbf35-53d2-4b25-a575-e83e.jpg
5. Now its time to get started with our maps. We will start with the (Base color blend map) let's take a look at what this does, scroll down.
   To the blend map section of the shader, lets increase the base color blend map strength to full.
https://forum.reallusion.com/uploads/images/f17cb091-6fac-4d2b-9f00-6d34.jpg
As you can see with the jody charcter there is a reddish-pink hue around the cheeks the nose and ears and mico veins, If we take a look at Chuck.
We can see the maps do not align to fix this. lets take Chucks specular map into photoshop.
And create the map, first let us create two layers. will use a soft brush with an opacity of 6%,  here is the color value I used in hex f52556. For the first layer fill it with 50% gray for the second layer, this will be our color layer.
https://forum.reallusion.com/uploads/images/f03825f7-8bc2-43f0-9f87-f853.jpg
Original CC3 Map.
https://forum.reallusion.com/uploads/images/9a88889a-1d1a-4572-9e1b-616c.png
I will start by copying the original map, painting around the ears, cheeks, and nose.
But many more advanced effects can be created, here is what my. map looks like, you can use this for Chuck if you like.
https://forum.reallusion.com/uploads/images/24c7636f-7e93-4f03-8267-7d04.png
6. The next map we will tackle is the normal blend map, this gets blended with the default normal map. We will import the specular map again.
    For reference this time we will give chuck some pitting in his face for this I will use photoshop and Bitmap2 Material.
    But you can also use Materialize, it's a free program to create the normal maps with.
   To start lets again create two layers. the fist layer fills with 50% gray and the second layer will be our effect, choose a skin brush, you can find
    One online if you don't have one, and with an opacity of 35% and color of hex #cdcdcd.
    Will put the pitting on Chuck's cheeks like the actor, Richard Davi, and give him a scar when your satisfied with your normal blend map its time
https://forum.reallusion.com/uploads/images/cf195a89-37a9-468c-911d-48e4.jpg
To bring it into B2M or your application of choice.
 To create the normal map be sure to adjust the relief balance low, mid and high frequencies to get the desired results.
https://forum.reallusion.com/uploads/images/7e3686fd-ac95-4079-8737-aac9.jpg
7. Next, we have the transmission map, let's bring the specular map into photoshop or our application of choice, let's create two layers.
   Fill the first  layer with black, for the second layer we will paint with white, as before, lets grab a soft brush with an opacity of 12%.
   We want to trace the ears and the nose and lips with white, these areas are the most common place you see subsurface scattering.
   Or light transport.
    But every part of our skin has this effect but to diffrent degrees.
https://forum.reallusion.com/uploads/images/a7efedc3-27c0-4857-9f71-12cb.jpg
As I create this map I place a spotlight in iclone and in the light properties. Enable sss transmission, in iclone,
https://forum.reallusion.com/uploads/images/e6470e7f-b087-4822-955e-74b6.jpg
I next create a primitive sphere, let's attach the spotlight to the sphere so we can rotate the light around.             
Chuck, so we can check our work after we're satisfied with our transmission map, apply a small amount of gaussian blur with a radius of 3.0.
8. Next up is the SSS Map, let's bring in our specular map again, we will use levels first to brighten the specular map some.
https://forum.reallusion.com/uploads/images/0aedddae-fdc1-4b28-9f35-b753.jpg
We also need to create a new layer, to paint with black using a soft brush with an opacity of 23%, this is where we don't want this effect.
To be visible like the eyebrows.
https://forum.reallusion.com/uploads/images/3749b943-c522-42a0-aef0-265c.jpg
9. Now its time to work with the micro normal mask, bring in the diffuse or specular texture, create a new layer and fill it with white.
   We will paint with black, this is where the effect will not be applied such as the eyes, lips, eyebrows, and inside the nostrils.
https://forum.reallusion.com/uploads/images/513dad82-7c6e-4cc0-ba42-dd03.jpg
10. The micro normal texture is a tiled normal map, that is blended, also with the default normal map for fine details or other effects.
     By adjusting the tiling and strength for close up camera shots. You can create these in photoshop, filter forge, substance designer.
     And many other applications you can also find them online, here is the one I created from substance source you can use.
https://forum.reallusion.com/uploads/images/d7cca5f6-ed8e-4bed-90a3-eba4.png
11. The Specular mask is used to determine which part of the texture is subject to specularity.
      We simply paint with white and black, white areas are effected and black areas are not...
      We will start by once again bringing in the original specular map,we will also use levels on the original specular map.
   https://forum.reallusion.com/uploads/images/27834102-595f-4f2e-8b17-c4f8.jpg
We will create two layers. The first layer we paint with black and white.
On the second layer, we use the noise filter with a blending mode set to multiply.
https://forum.reallusion.com/uploads/images/93afcd0e-cc11-4534-b653-43fe.jpg
https://forum.reallusion.com/uploads/images/953be5a1-a213-45d1-a9cb-5ac5.jpg
12. Lets, take a look next at the(MN Mask&AO map),for the character Chuck I had to copy the shader again for the mouth cavity.
      Because they do not share the same texture space.
     https://forum.reallusion.com/uploads/images/feb4d95a-1186-4ac3-8575-9f74.jpg
In photoshop I created a new texture 512x512 for the map.   
Switch from layers to channels, we start with (R Channel = mouth cavity mask), in photoshop I select from the swatch and choose the red color.
https://forum.reallusion.com/uploads/images/69769757-5e74-4c98-8708-ee87.jpg
In the edit menu, I select the fill function and select foreground color, to fill the channel with red.
Moving on to the (G Channel = mouth gradient AO), select the green color from the swatch and select the green channel.
Select the gradient tool, also choose linear gradient type to draw your gradient, in the case of chuck I started from top to bottom.
The direction may be different on other characters your working with if you're working with Chuck or other characters with a separate.
Mouth cavity map.
https://forum.reallusion.com/uploads/images/2a2f79f0-3b7e-49d3-8262-1b37.jpg
You may delete unused textures from the, shader setting, textures section. 
https://forum.reallusion.com/uploads/images/c5b54cb1-f513-45d7-9a94-6b84.jpg
Save your mouth cavity map (MN Mask AO), map as 32bit TGA.
The (B Channel = nostril gradient AO), and the (A Cannel = lip line AO).
Are part of the face texture, we will work on that in the next section.

12A.Selecting the RL_Skin once again, so we can work on the second part of the (MN Mask&AO Map), I first import Chucks Diffuse texture into photoshop lets create a new layer we will be working on the (B Channel = nostril gradient).
Fill the new layer with white reduce the layer opacity to 25% so we can see the diffuse texture layer select a soft brush with opacity set to 30%.
Paint in the nostril area with black we are painting on the blue channel.
When done, let's work on our lip line area (A Channel = lip line AO), create a new alpha channel, name it lip line.
Fill the alpha channel with white, using the same brush setting, paint with black, tracing where the lips meet.
https://forum.reallusion.com/uploads/images/76aa5b6b-ac0d-426e-96e3-4885.jpg
When you're satisfied, set the opacity of the blue and alpha layer to 100% and deactivate the diffuse layer save the map too, TGA 32 BIT.

13. In this part we will deal with the more advanced roughness section of the shader, the remaining three texture maps function in the same way, breaking the face-up into areas for fine control over the roughness applied.
To start with, import Chucks specular map, you may also use the diffuse texture if you find it easier to work with, all we need it for is to trace.
The separate areas of the face texture, we will create the (NMUIL Mask).
Let's start by creating a new layer and name it NMUIL. I also created an adjustment layer to brighten up the specular map to make it easier to see as I trace the different areas of the face.
Fill the NMUIL layer with black, select red from the swatch, and switch from layers to channels (R Channel = Nose).
In the red channel trace the nose,(G = Mouth) in the green channel trace the mouth.
Next, the (B Channel = Upper lid), select the blue channel and trace the upper eyelid, and finally the alpha channel (A Channel = inner lid).
Trace the inner eyelid in the alpha channel.
https://forum.reallusion.com/uploads/images/f5060690-bc2b-4e3f-91b3-f263.jpg
https://forum.reallusion.com/uploads/images/5b0762be-d6e1-4427-a090-dc3c.jpg
Save to a 32-bit TGA.
Repeat using this same method to create the last two maps for the neck and ear, cheeks, forehead and upper lips and chin.
I hope this tutorial was of help.
Best Regards.
Kevin L
 https://forum.reallusion.com/uploads/images/897db18d-9051-46cf-a5b1-43a5.jpghttps://forum.reallusion.com/uploads/images/a806a9d2-8214-4b05-96a6-e5b1.png  



Warped Reality VFX.
Edited
5 Years Ago by Kevin L
animagic
animagic
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (33.3K reputation)Distinguished Member (33.3K reputation)Distinguished Member (33.3K reputation)Distinguished Member (33.3K reputation)Distinguished Member (33.3K reputation)Distinguished Member (33.3K reputation)Distinguished Member (33.3K reputation)Distinguished Member (33.3K reputation)Distinguished Member (33.3K reputation)

Group: Forum Members
Last Active: 42 minutes ago
Posts: 15.8K, Visits: 31.2K
Wow, Kevin, that's impressive, that you so much.

This will take some time for me to grasp, but it will also help to understand the mechanism behind the DHS.


https://forum.reallusion.com/uploads/images/436b0ffd-1242-44d6-a876-d631.jpg

AutoDidact
AutoDidact
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (6.0K reputation)Distinguished Member (6.0K reputation)Distinguished Member (6.0K reputation)Distinguished Member (6.0K reputation)Distinguished Member (6.0K reputation)Distinguished Member (6.0K reputation)Distinguished Member (6.0K reputation)Distinguished Member (6.0K reputation)Distinguished Member (6.0K reputation)

Group: Forum Members
Last Active: 3 hours ago
Posts: 2.0K, Visits: 13.5K
Old "Dead eye" Chuck never  looked  so  good!!! 


RAG DOLL COLLISION ANIMATIONS FOR ICLONE 8 & 7
---------------------------------------------------------------------------------------------------------------------
Ghost Origins
My latest Feature length film created with Iclone.
https://forum.reallusion.com/uploads/images/adf9b210-df59-4cb6-aa1b-9de5.jpg
My Sci- Fi Graphic Novel on Amazon: https://a.co/d/9k3cwoY


charly Rama
charly Rama
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (8.0K reputation)Distinguished Member (8.0K reputation)Distinguished Member (8.0K reputation)Distinguished Member (8.0K reputation)Distinguished Member (8.0K reputation)Distinguished Member (8.0K reputation)Distinguished Member (8.0K reputation)Distinguished Member (8.0K reputation)Distinguished Member (8.0K reputation)

Group: Forum Members
Last Active: 8 hours ago
Posts: 1.9K, Visits: 17.3K
Waouh it's really great great, good work Kevin, excellent


     


ender570
ender570
Posted 2 Years Ago
View Quick Profile
Senior Member

Senior Member (386 reputation)Senior Member (386 reputation)Senior Member (386 reputation)Senior Member (386 reputation)Senior Member (386 reputation)Senior Member (386 reputation)Senior Member (386 reputation)Senior Member (386 reputation)Senior Member (386 reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 33, Visits: 1.8K
it looks like this bypass was patched out ...

does anyone know of another way to get DHS on cloth items?



Reading This Topic