Stone

Applies a marbled stone relief and surface distortion to child content

Props

  • intensity

    Strength of the relief shading applied to the child content

    Type
    number
    Default
    0.5
  • scale

    Scale of the pattern — lower = larger features, higher = finer grain

    Type
    number
    Default
    1
  • contrast

    Contrast of the texture — negative flattens it into a subtle overlay

    Type
    number
    Default
    0
  • distortion

    Surface distortion — warps the child along the texture like carved relief

    Type
    number
    Default
    0.15
  • seed

    Random seed for pattern variation

    Type
    number
    Default
    0

Usage

<Shader>
  <Stone
    intensity={0.5}
  >
    <Circle />
  </Stone>
</Shader>