set_postprocessing
Enable or disable post-processing passes and set pass uniforms or effect parameters in a live Three.js scene; with no pass, list available passes.
Instructions
[LIVE PREVIEW] Changes the scene in the browser only — NOT saved to source code, lost on reload. Recorded in pending_changes (→ code edits) and undoable with revert_changes. Enable/disable passes, set pass uniforms or effect parameters. Without a pass, lists passes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| passName | No | Pass name or class, e.g. "UnrealBloomPass" | |
| uniforms | No | { "threshold": 0.5, "strength": 1.0 } | |
| passIndex | No | From postprocessing_list | |
| effectIndex | No | Effect inside an EffectPass (postprocessing library) | |
| effectParams | No | { "intensity": 2.0 } |