Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IHBAOEffectDefinition

Hierarchy

Index

Properties

type: HBAO

The type of this effect.

properties?: { bias?: number; color?: Color; depthPhi?: number; distance?: number; distanceIntensity?: number; intensity?: number; iterations?: number; lumaPhi?: number; normalPhi?: number; radius?: number; resolutionScale?: number; rings?: number; samples?: number; spp?: number; thickness?: number }

Type declaration

  • Optional bias?: number

    The bias that is used for the effect in world units. (default: 10)

  • Optional color?: Color

    The color of the ambient occlusion. (default: black)

  • Optional depthPhi?: number

    Allows to adjust the influence of the depth difference in the denoising pass. (default: 2)

  • Optional distance?: number

    Controls the radius/size of the ambient occlusion in world units. (default: 1)

  • Optional distanceIntensity?: number

    Controls how fast the ambient occlusion fades away with distance in world units. (default: 1)

  • Optional intensity?: number

    A purely artistic control for the intensity of the AO - runs the ao through the function pow(ao, intensity), which has the effect of darkening areas with more ambient occlusion. (default: 2.5)

  • Optional iterations?: number

    The number of iterations of the denoising pass. (default: 1)

  • Optional lumaPhi?: number

    Allows to adjust the influence of the luma difference in the denoising pass. (default: 10)

  • Optional normalPhi?: number

    Allows to adjust the influence of the normal difference in the denoising pass. (default: 3.25)

  • Optional radius?: number

    The radius of the poisson disk. (default: 12)

  • Optional resolutionScale?: number

    The resolution scale of the ambient occlusion. (default: 1)

  • Optional rings?: number

    The rings of the poisson disk. (default: 11)

  • Optional samples?: number

    The samples that are used in the poisson disk. (default: 16)

  • Optional spp?: number

    The samples that are taken per pixel to compute the ambient occlusion. (default: 16)

  • Optional thickness?: number

    The thickness if the ambient occlusion effect. (default: 0.5)

token?: string

The token of the effect, is only returned by the viewer, but ignored as an input.