Backlight
Backlight imitates light passing through thin or translucent parts, such as ears, hair tips, skin edges and thin fabric, when a light is behind the avatar. It adds a soft glow on the areas that face away from the light while you look toward it.
The effect uses the main light direction and color that NekoToon calculates for the material (see Lighting). It is strongest when the light is directly behind the object as seen from the camera and fades as the light moves to the side. It is added after shadows, takes the light's color, and is only calculated for the main light. Backlight is not shown for the Gem rendering mode or in NekoToon Lite.
Backlight#
Backlight#
_UseBacklight on / off · default off
Turns the effect on. The remaining settings appear once it is enabled.
Color / Mask#
_BacklightColor HDR color · default (0.85, 0.8, 0.7, 1) _BacklightColorTex texture · default white
The color of the transmitted light, multiplied by the texture (RGB = color, A = strength; Main Color UV). The default warm tone suits skin; use the texture to keep the effect on thin parts only, for example white on ears and hair tips and black elsewhere.
Alpha#
_BacklightColor.a 0 – 1 · default 1
Overall strength of the backlight, stored in the alpha of the color.
Main Color Power#
_BacklightMainStrength 0 – 1 · default 0
Multiplies the backlight color by the surface's own color (before lighting). At 1 the transmitted light takes on the texture colors, so red hair glows red; at 0 only the backlight color is used.
Receive Shadow#
_BacklightReceiveShadow on / off · default on
When on, real-time cast shadows from the main light (for example from the head onto the neck) also block the backlight. Turn it off if the effect disappears in places where you want it. It only matters in scenes with real-time shadows.
Backface Mask#
_BacklightBackfaceMask on / off · default on
When on, the back faces of double-sided materials (with culling off) never get backlight, so the inside of a skirt or sleeve does not glow. Turn it off if you want the inside to glow too.
Normal Map Strength#
_BacklightNormalStrength 0 – 1 · default 1
How much the normal map affects the backlight shape. 0 uses the smooth mesh normal, 1 follows the normal map details.
Border#
_BacklightBorder 0 – 1 · default 0.35 (shown as 0.65)
How far the lit area reaches. Higher values make the backlit area larger, lower values keep it to the parts facing most directly away from the light. The inspector shows this slider inverted: it displays 1 minus the stored value, so the default appears as 0.65.
Blur#
_BacklightBlur 0 – 1 · default 0.05
Softness of the edge of the lit area. 0 gives a hard toon edge; higher values fade it in gradually.
Directivity#
_BacklightDirectivity number · default 5
How exactly the light must be behind the object, from the viewer's point of view. Higher values make the effect appear only when you look almost straight into the light; lower values let it show at wider angles (at 0 the viewing angle no longer matters).
View direction strength#
_BacklightViewStrength 0 – 1 · default 1
How much the camera direction shapes the lit area. At 1 the glow concentrates on the parts that face away from the camera toward the light, which puts it on silhouette edges; at 0 it only depends on the light direction and the surface normal.
Backlight is easy to overdo on a whole body. Start with the default color, lower the alpha to around 0.5, and use the mask to limit it to ears, fingers, hair ends and thin cloth.