Skip to content

Documentation / scene / HairShadingModel

Type Alias: HairShadingModel

HairShadingModel = "kajiya-kay" | "marschner"

Defined in: libs/scene/src/material/hair.ts:34

Which scattering model shades the hair.

  • kajiya-kay: the phenomenological double lobe. Every term is an art dial, which makes it predictable and cheap, and is usually what a stylised hair card wants.
  • marschner: the fibre model, splitting light into the three paths it can take through a strand. Costs more and gives up some direct control, but the secondary highlight takes the hair's own colour and backlit tips glow because the model says they must, not because someone dialled it in.

Released under the MIT License.