effect-motion
API ReferencethreeNamespacesPostProcessingInterfaces

DepthAwareDofOptions

aperture: FloatParam;

Interface: DepthAwareDofOptions

Defined in: packages/three/src/DepthAwareDof.ts:155

Properties

aperture

aperture: FloatParam;

Defined in: packages/three/src/DepthAwareDof.ts:157


focusDistance

focusDistance: FloatParam;

Defined in: packages/three/src/DepthAwareDof.ts:156


maxBlurPx?

optional maxBlurPx?: FloatParam;

Defined in: packages/three/src/DepthAwareDof.ts:158


taps?

optional taps?: {
  far: number;
  near: number;
};

Defined in: packages/three/src/DepthAwareDof.ts:164

Gather taps per pixel for the near and far fields (default 64 / 48). Fewer taps cost proportionally less GPU time for more sample noise; the blur shape and edges are unchanged. Fixed when the node is built.

far

readonly far: number;

near

readonly near: number;

On this page