Options
All
  • Public
  • Public/Protected
  • All
Menu

Module exprs/brightnessexpr

Index

Classes

Functions

Functions

brightness

  • changes the brightness of a color

    Parameters

    • val: Float | number

      float for how much to change the brightness by (should probably be between -1 and 1)

    • Optional col: Vec4

      the color to increase the brightness of (defaults to current fragment color)

    Returns Brightness

Generated using TypeDoc