When enabled, the device pixel ratio will be gradually reduced when FPS is low and restored when performance recovers.
Set multisampling to "auto" to automatically adjust the multisampling level based on performance. Set to a number to manually set the multisampling level.
The effect composer used to render postprocessing effects. This is set internally by the PostProcessingHandler when effects are applied.
Currently active postprocessing effects in the stack
The internal PostProcessingHandler that manages the EffectComposer pipeline
Add a post processing effect to the stack. The effect stack will be rebuilt on the next update.
Mark the stack as dirty so the effects are rebuilt on the next update
Remove a post processing effect from the stack. The effect stack will be rebuilt on the next update.
Core postprocessing stack accessible via
context.postprocessing. Manages the effect pipeline independently of any specific component.Volumes and individual PostProcessingEffect components add/remove effects to this stack. The stack builds the EffectComposer pipeline when dirty.
Example: Add an effect directly
Example: Remove an effect