Sub topic 14
Subsurface scattering for skin, wax and leaves
This chapter assumes you can open the Shader Editor, connect nodes to the Principled BSDF, and set Base Color as covered earlier. It also assumes you know the difference between Eevee and Cycles at a basic level. Engine details are covered in a later chapter.
What subsurface scattering is
Some materials do not reflect light only from their outer surface. Light enters, bounces around under the surface, and leaves at a different point. This is subsurface scattering (SSS). Skin, wax, milk, marble, jade, leaves and soap all do this.
Without SSS, a surface looks hard, like plastic or clay. With SSS, light bleeds across shadow edges and the material looks soft and slightly translucent. Thin parts such as ears or leaf edges glow when backlit.
The Principled BSDF models this with a group of inputs on its Subsurface panel. The Base Color tints the scattered light, so Base Color and the SSS settings work together.
The Subsurface inputs
In Blender 4.0 and later, the Principled BSDF has a collapsible Subsurface panel with these inputs.
| Input | What it does | Typical range |
|---|---|---|
| Weight | Blends between normal diffuse shading (0) and full subsurface (1) | 0 to 1 |
| Radius | How far light travels under the surface, separately for red, green and blue | Small values, often under 1 |
| Scale | Multiplies the radius, in scene units | 0.001 to 1 |
| IOR | Index of refraction used by some scattering methods | About 1.4 for skin |
| Anisotropy | Whether light scatters mostly forward (positive) or backward (negative) | 0 to 0.8 |
A separate Subsurface Method menu on the node chooses the algorithm. It offers Christensen-Burley and Random Walk in Cycles. Random Walk is the more accurate option, and it respects the object's actual thickness. Christensen-Burley is faster and works on thick, smooth surfaces. Random Walk (Skin) is a variant tuned for skin.
Versions before 4.0 name the main input Subsurface (a single factor) and add Subsurface Radius and Subsurface Color. Version 4.0 removed the separate Subsurface Color. The Base Color now tints the scattering. If you follow an older tutorial, map its names to the table above.
Why Radius and Scale matter together
The effective scatter distance per color channel is Radius multiplied by Scale. The Radius is a color-like vector of three numbers (R, G, B). Larger numbers mean light travels further in that channel.
Skin is the classic case. Red light travels the furthest through flesh, green less, and blue the least. That is why the soft edges of a shadow on skin look reddish. A typical skin starting point is Radius of about (1.0, 0.2, 0.1) with a Scale chosen to suit your model.
Scale is the setting that most often goes wrong. Blender measures it in scene units. A head that is 0.2 m tall and a head modeled at 20 m tall need very different Scale values. If the Scale is too big, the object turns into a blurry glow and loses its detail. If it is too small, you see no effect at all.
A practical method is to start with Weight 1.0 and the default Radius. Set Scale to roughly one hundredth of the object's smallest meaningful feature. Increase it until you see soft light bleeding, then stop.
Three starting recipes
These are starting points, not final answers. Adjust Scale for your own scene.
| Material | Base Color | Weight | Radius (R, G, B) | Scale | Roughness |
|---|---|---|---|---|---|
| Skin | Warm pink-beige | 1.0 | 1.0, 0.2, 0.1 | 0.05 | 0.4 to 0.5 |
| Wax | Pale yellow | 1.0 | 1.0, 0.8, 0.5 | 0.1 | 0.3 to 0.4 |
| Leaf | Mid green | 0.3 to 0.6 | 0.3, 0.6, 0.1 | 0.02 | 0.5 |
Leaves also need a thin, double-sided mesh, and they often scatter more through backlight than through their surface. The Principled BSDF alone gives a fair result. For stronger backlit glow you can mix in a Translucent BSDF, but that goes beyond this chapter.
Setting it up in Python
This script builds a wax-like material. The socket names are those of Blender 4.0 and later.
import bpy
mat = bpy.data.materials.new(name="Wax")
mat.use_nodes = True
bsdf = mat.node_tree.nodes.get("Principled BSDF")
bsdf.inputs["Base Color"].default_value = (0.9, 0.75, 0.35, 1.0)
bsdf.inputs["Roughness"].default_value = 0.35
# Subsurface panel inputs (Blender 4.0+)
bsdf.inputs["Subsurface Weight"].default_value = 1.0
bsdf.inputs["Subsurface Radius"].default_value = (1.0, 0.8, 0.5)
bsdf.inputs["Subsurface Scale"].default_value = 0.1
# Method is a property of the node, not a socket
bsdf.subsurface_method = 'RANDOM_WALK'
obj = bpy.context.active_object
if obj is not None and obj.type == 'MESH':
obj.data.materials.append(mat)Note that the method is set on the node itself with subsurface_method, not through inputs. Valid values include 'BURLEY', 'RANDOM_WALK' and 'RANDOM_WALK_SKIN'.
Behavior in Eevee and Cycles
The two engines handle SSS differently.
- Cycles traces the scattering through the volume. Random Walk produces results that depend on real geometry thickness, so thin ears and fingers glow correctly. It needs more samples to reduce noise.
- Eevee approximates SSS as a blur in screen space. It is fast but ignores the object's thickness. In Blender 4.2 and later (Eevee Next), the Subsurface Weight and Radius are used, and a material setting called Jittered Shadows or Light Threshold can affect quality. Also, the blur is applied to diffuse light only, so it cannot make thin parts glow from behind.
Because Eevee cannot do true backlit transmission through the SSS, a leaf or ear lit from behind may look dark in Eevee but glow in Cycles. Check the final result in the engine you will render with.
Common problems
- No visible effect. Weight is 0, Scale is far too small, or the surface is lit only by a flat, even light. SSS shows most near shadow edges and with strong directional lights.
- Object looks blurry or washed out. Scale is too large for the object. Lower it.
- Strong noise in Cycles. Random Walk needs more samples. Raise the sample count or use a denoiser.
- Wrong color. Radius sets how far each channel scatters, while Base Color sets the tint. Equal Radius values give neutral scattering and a flat look.
- Overlapping meshes bleed light into each other. SSS does not respect separate objects in Eevee. Keep meshes with different SSS materials apart.
Exercises
Exercise
A skin material looks like a glowing blob with no pore or wrinkle detail. Which input do you check first, and which direction do you change it?
Show answer
Check Subsurface Scale. It is too large, so the scatter distance blurs all detail. Lower it until the surface detail returns and only soft bleeding at shadow edges remains.
Exercise
In Blender 4.0 and later, how do you select the Random Walk method from Python, and why does bsdf.inputs["Subsurface Method"] not work?
Show answer
Set bsdf.subsurface_method = 'RANDOM_WALK'. The method is a property of the node, drawn as a dropdown, and it has no socket in inputs.
Exercise
A backlit ear glows in Cycles but looks dark in Eevee with the same material. Explain why.
Show answer
Cycles traces light through the object's real volume, so thin geometry transmits light. Eevee approximates SSS as a screen-space blur of diffuse light and does not model transmission through thin geometry, so backlit parts stay dark.