effect-motion
API ReferencethreeNamespacesPostProcessingFunctions

pass

function pass(scene, camera): Pass;

Function: pass()

function pass(scene, camera): Pass;

Defined in: packages/three/src/PostProcessing.ts:80

Render a scene through a camera into something a shader graph can sample.

Parameters

ParameterType
sceneScene
cameraCamera

Returns

Pass

Remarks

The pass is the input end of a post chain: build one, take Pass.getTextureNode as a node, combine it however you like, and hand the result to makePipeline.

On this page