Options
All
  • Public
  • Public/Protected
  • All
Menu

Module exprs/dofloop

Index

Classes

Functions

Functions

dof

  • creates depth of field expression; all values are mutable by default

    Parameters

    • Optional depth: Float | number

      float for what inverse depth to focus on (1 on top of the camera; 0 is infinity)

    • Optional rad: Float | number

      float for how deep the band of in-focus geometry is (a value between 0.01 and 0.1 is reasonable)

    • Optional depthInfo: Float | number

      float the expression that represents the inverse depth (defaults to sampling the red component from channel 0)

    • Optional reps: number

      how many times to repeat the gaussian blur

    Returns DoFLoop

Generated using TypeDoc