Optional
defaultDefault rendering pipeline configuration.
The default rendering pipeline can be added to a scene to apply common post-processing effects such as anti-aliasing or depth of field.
Optional
enable?: booleanWhether to enable the rendering pipeline
Optional
fxaaFast Approximate Anti-aliasing (FXAA) uses a full screen pass that smooths edges on a per-pixel level.
Optional
imageImage post-processing pass used to perform operations
Optional
contrast?: numberContrast used in the effect
Optional
enable?: booleanWhether to enable image post-processing
Optional
exposure?: numberExposure used in the effect
Optional
toneEnable tone mapping
Optional
toneTone mapping type 0: Standard 1: ACES 2: Khronos PBR Neutral
Optional
samples?: numberMSAA sample count, setting this to 4 will provide 4x anti aliasing
Optional
ssao2SSAO2 rendering pipeline configuration.
This rendering pipeline can be added to a scene to apply post-processing effects such as Squared Space Ambient Occlusion (SSAO). Note: only available with WebGL2.
Optional
blurA horizontal and vertical Gaussian shader blur to clear the noise. Note: all 3 ssaoRatio & blurRatio & combineRatio must be configured for this to apply.
Optional
combineRatio of the combine post-process (combines the SSAO and the scene. Note: all 3 ssaoRatio & blurRatio & combineRatio must be configured for this to apply.
Optional
enable?: booleanWhether to enable the rendering pipeline.
Optional
expensiveEnables the configurable bilateral de-noising (blurring) filter. Set false to instead use a legacy bilateral filter that can't be configured.
Optional
forceA legacy geometry buffer renderer.
Optional
ratio?: numberThe size of the post-processes is a number shared between passes or for more precision modify ssaoRatio, blurRatio, and combineRatio.
Optional
samples?: numberNumber of samples used for the SSAO calculations.
Optional
ssaoratio of the SSAO post-process used. Is more specific than the generic ratio placeholder Note: all 3 ssaoRatio & blurRatio & combineRatio must be configured for this to apply.
Optional
textureNumber of samples to use for antialiasing, setting this to 4 will provide 4x anti aliasing.
Define different types of rendering pipeline