Skip to main content

PostProcessStageComposite

PostProcessStagComposite can add a post processing stages to the scene.

Bult-in PostProcessStageComposite components are available with additional Cesium properties:

ComponentPropertyType
AmbientOcclusionintensitynumber
biasnumber
lengthCapnumber
stepSizenumber
frustumLengthnumber
ambientOcclusionOnlyboolean
deltanumber
sigmanumber
Bloomcontrastnumber
brightnessnumber
glowOnlyboolean
deltanumber
sigmanumber
stepSizenumber
DepthOfFieldStagefocalDistancenumber
deltanumber
sigmanumber
stepSizenumber
EdgeDetectionStagecolorColor
lengthnumber
NightVisionStage--
SilhouetteStagecolorColor
lengthnumber

Note: AmbientOcclusion and Bloom components can not be used multi time for each components, as it refers to the single post process stage of the scene.

They can be imported and used normally:

import { AmbientOcclusion, Bloom } from "resium";

<Viewer>
<AmbientOcclusion />
<Bloom />
</Viewer>

Availability

Inside Viewer or CesiumWidget components.

Properties

Cesium properties

PropertyTypeDescription
enabledboolean
selectedany[]

Cesium read-only properties

PropertyTypeDescription
stagesany[]
namestring
uniformsany
inputPreviousStageTextureboolean

Cesium events

N/A

Other properties

N/A