Scratches

Fine hairline scratches, like a worn film or scratched surface

Props

  • colorA

    First color

    Type
    string
    Default
    #ffffff
  • colorB

    Second color

    Type
    string
    Default
    #000000
  • scale

    Pattern scale (higher = more, finer scratches)

    Type
    number
    Default
    2
  • thickness

    Thickness of the scratches (higher = bolder streaks)

    Type
    number
    Default
    1
  • seed

    Random seed for pattern variation

    Type
    number
    Default
    0
  • speed

    Animation speed

    Type
    number
    Default
    1

Usage

<Shader>
  <Scratches />
</Shader>