# skin

• All Post
• Articles
• Quick Tips
• Tangents
• Tutorials
• Uncategorized

## Part 6: Concluding Notes

2020-08-27/

Calibrating Skin Textures During the process of making this tutorial, it has become clear that if you plan on using this technique in full production, you may wish to calibrate your skin textures. Having looked at several sets of skin textures, its clear that black…

## Part 5: Extending the Shader

2020-08-27/

2020-08-27/

Now we need to bring out LUT into a skin shader. For this tutorial, we’ll be using the Bust_Outdoors level from the Digital Human content pack, which you get through the Epic Games Launcher (via Unreal Engine -> Learn). Once you’re there, we’ll move on…

## Part 3b (Practical): Python Imaging Library (Pillow)

2020-08-18/

We now need to write out our sRGB values to an image. We installed Pillow in the introduction, so import that now. Below our sRGB conversion loop in the Generate() function If you now run the code you should get this PNG output – its…

## Part 3 (Practical): Spectral Reflection & Color Spaces

2020-08-18/

XYZ Spectral Sensitivity Curves First, let’s get those Gaussian curves for the XYZ spectral sensitivity curves. I’ve pre-generated these into (you guessed it, CSV). Put this into your development directory, with everything else: In our __init__ function, do the following: And declare at the top…

## Part 3 (Theory): Spectral Reflection & Color Spaces

2020-08-18/

Having spectral reflectance values is all well-and-good, but this still isn’t a color we can use in a look-up table. Representing Spectral Reflection Values How do we go about converting this data into something usable? Fortunately much of this work has already been done by…

## Part 2 (Practical): The Monte Carlo Simulation

2020-08-18/

We’ll take what we learned in the previous part and start fleshing out our Monte Carlo (“MC”) simulation. First, let’s import the random and math classes – we’ll need them. In our Python script, we’ll add a new function to our class. We’ll call this…

## Part 2 (Theory): The Monte Carlo Simulation

2020-08-18/

Introduction As discussed in previous chapters, we need to simulate light photon beams in order to determine the true color of our surface. The “Monte Carlo” simulation provides a method to do this. The name “Monte Carlo” derives from the randomness used in the method;…

## Part 1 (Practical): What Makes Skin Color?

2020-08-18/

Getting Going First things, open Python IDLE 3.8 (64-bit)… and create a new file… Save this file as Skin_Reflectance_Generation.py, or similar. Skin_Reflectance_Generation.py If you have a preferred IDE for authoring Python, feel free to use that. I wanted to keep this tutorial minimal, hence I’m…

## Part 1 (Theory): What Makes Skin Color?

2020-08-18/

Chromophores A chromophore is the part of any molecule that gives that molecule its color. It gives color by absorbing different wavelengths of light and reflecting others. An examples of a chromophore you may be familiar with is chlorophyll. It exists inside plants, reflecting green…

End of Content.