Satin

Flowing satin — a draped cloth of soft rippling folds lit like real fabric: a highlight streaked along the weave, a velvet sheen on the fold flanks and creases falling into shadow, swaying gently in a breeze

Props

  • color

    The dye of the cloth — deep colors show the sheen best

    Type
    string
    Default
    #c92c40
  • highlightColor

    The color of the light caught by the weave — near white for silk, tinted toward the dye for a matte satin

    Type
    string
    Default
    #c4667b
  • foldCount

    How many ridges run across the cloth

    Type
    number
    Default
    7
  • foldDirection

    Direction the folds run, in degrees — 90 hangs them vertically like a curtain

    Type
    number
    Default
    90
  • foldDepth

    How deep the folds are — 0 is a flat sheet, 1 heavy gathered drapery

    Type
    number
    Default
    0.5
  • foldWidth

    Width of each ridge, relative to the canvas — narrow for fine pleats, wide for broad soft folds

    Type
    number
    Default
    0.14
  • pinning

    How much the cloth is gathered at the top edge — 0 is a loose drape, 1 a curtain pinned at the rail with the folds opening as they fall

    Type
    number
    Default
    0.6
  • seed

    Random seed — a different layout of folds

    Type
    number
    Default
    0
  • speed

    How fast the cloth moves. 0 pauses.

    Type
    number
    Default
    1
  • breeze

    Strength of the breeze — how far the folds ripple and sway

    Type
    number
    Default
    0.4
  • gloss

    How shiny the weave is — 0 soft matte satin, 1 glossy silk with a tight bright streak

    Type
    number
    Default
    0.1
  • anisotropy

    How much the highlight stretches along the threads — the long streak real satin shows

    Type
    number
    Default
    0.7
  • bloom

    The broad soft glow around the highlight — light the weave scatters sideways. 0 leaves the crisp streak alone, 1 a wide satin bloom

    Type
    number
    Default
    0.5
  • sheen

    The velvet glow on the flanks of each fold where the fibres catch the light edge-on

    Type
    number
    Default
    0.5
  • weave

    Visibility of the thread texture — the fine grain that glints inside the highlight

    Type
    number
    Default
    0.1
  • fiberAngle

    Direction the threads run, in degrees — the highlight streaks along this axis. Usually the fold direction.

    Type
    number
    Default
    90
  • lightAngle

    Direction of the key light, in degrees

    Type
    number
    Default
    215
  • fill

    Strength of the fill light from the opposite side — lifts the shadowed flanks

    Type
    number
    Default
    0.35

Usage

<Shader>
  <Satin
    color="#c92c40"
  />
</Shader>