BokehPass Class

Module: Postprocessing

Depth-of-field post-process with bokeh shader.

Constructor

BokehPass

(
  • focus
  • aperture
  • maxblur
)

Parameters:

  • focus Number

    Focus distance.

  • aperture Number

    Camera aperture.

  • maxblur Number

    Maximum level of blur.

Item Index

Methods

Properties

Methods

toJSON

(
  • meta
)

Serialize pass to json.

Parameters:

  • meta Object

    Metadata object.

Properties

aperture

Number

Camera aperture.

enabled

Maxblur

Maximum level of blur that can be applied to more distant objects.

focus

Number

Focus point distance.