Tint

Apply a color tint to the image

Props

  • color

    Tint color

    Type
    string
    Default
    #ff8800
  • amount

    Tint amount (0 = no tint, 1 = full tint)

    Type
    number
    Default
    0.5
  • preserveLuminosity

    Preserve original brightness

    Type
    boolean
    Default
    true

Usage

<Shader>
  <Tint
    color="#ff8800"
  >
    <Circle />
  </Tint>
</Shader>