Weave

Interlaced textile weave pattern with two thread colors going over and under each other

Props

  • colorA

    Horizontal thread color

    Type
    string
    Default
    #c4c4c4
  • colorB

    Vertical thread color

    Type
    string
    Default
    #4d4d4d
  • cells

    Number of threads across the shortest canvas edge

    Type
    number
    Default
    10
  • gap

    Gap between threads (0 = no gap, 0.5 = maximum gap)

    Type
    number
    Default
    0.25
  • rotation

    Rotation of the weave pattern in degrees

    Type
    number
    Default
    0

Usage

<Shader>
  <Weave />
</Shader>