Skip to content

Examples: Migrate webgl postprocessing examples to renderer.setEffects()#33392

Open
mrdoob wants to merge 3 commits intodevfrom
seteffects
Open

Examples: Migrate webgl postprocessing examples to renderer.setEffects()#33392
mrdoob wants to merge 3 commits intodevfrom
seteffects

Conversation

@mrdoob
Copy link
Copy Markdown
Owner

@mrdoob mrdoob commented Apr 15, 2026

Related issue: #32461

Description

Testing the new API with some examples.

Replaces EffectComposer-based pipelines with the new setEffects() API in
16 webgl_* examples. Tone mapping and colour-space conversion are handled
automatically, so RenderPass and OutputPass are dropped; scene rendering
uses renderer.render( scene, camera ) in the animation loop.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mrdoob mrdoob added this to the r185 milestone Apr 15, 2026
mrdoob and others added 2 commits April 15, 2026 21:01
Otherwise the final additive-combine fsQuad render can clear the
readBuffer when called from a pipeline that leaves autoClear at the
default (true). Matches the pattern used by UnrealBloomPass, SAOPass,
TAARenderPass, and others.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant