OptionaldefaultDefault 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.
Optionalenable?: booleanWhether to enable the rendering pipeline
OptionalfxaaFast Approximate Anti-aliasing (FXAA) uses a full screen pass that smooths edges on a per-pixel level.
OptionalimageImage post-processing pass used to perform operations
Optionalcontrast?: numberContrast used in the effect
Optionalenable?: booleanWhether to enable image post-processing
Optionalexposure?: numberExposure used in the effect
OptionaltoneEnable tone mapping
OptionaltoneTone mapping type 0: Standard 1: ACES 2: Khronos PBR Neutral
Optionalsamples?: numberMSAA sample count, setting this to 4 will provide 4x anti aliasing
Optionalssao2SSAO2 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.
OptionalblurA horizontal and vertical Gaussian shader blur to clear the noise. Note: all 3 ssaoRatio & blurRatio & combineRatio must be configured for this to apply.
OptionalcombineRatio of the combine post-process (combines the SSAO and the scene. Note: all 3 ssaoRatio & blurRatio & combineRatio must be configured for this to apply.
Optionalenable?: booleanWhether to enable the rendering pipeline.
OptionalexpensiveEnables the configurable bilateral de-noising (blurring) filter. Set false to instead use a legacy bilateral filter that can't be configured.
OptionalforceA legacy geometry buffer renderer.
Optionalratio?: numberThe size of the post-processes is a number shared between passes or for more precision modify ssaoRatio, blurRatio, and combineRatio.
Optionalsamples?: numberNumber of samples used for the SSAO calculations.
Optionalssaoratio 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.
OptionaltextureNumber of samples to use for antialiasing, setting this to 4 will provide 4x anti aliasing.
Define different types of rendering pipeline