Skip to content
enzed avatar

R3f Postprocessing

Config-driven WebGL post-processing for React Three Fiber, covering bloom, selective bloom, SSAO, and depth of field.

CCM score
72 of 100
skills.sh installs
2.3K
GitHub stars
138
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the composer pipeline and screen-space effects, excluding mesh material shaders and Three.js WebGPURenderer node effects
  • Includes a selected-object SelectiveBloom example, plus rules for Selection/Select, ToneMapping, and HDR thresholds
  • Enforces a single owner for final rendering, since an extra manual gl.render can overwrite or duplicate the composer output
  • Designed for React 19 projects on Fiber 9.7 with @react-three/postprocessing 3.1 and postprocessing 6.39 that need pinned, verified package versions

Install

$ npx -y skills add enzed/r3f-skills --skill r3f-postprocessing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

React Three Fiber postprocessing

Check the actual renderer and package peer dependencies first. This example targets Fiber 9.7 / React 19 with @react-three/postprocessing 3.1 and postprocessing 6.39 on WebGL. Do not combine arbitrary newest package versions or silently upgrade a project.

Choose the pipeline

  • The React postprocessing composer here is for WebGL. Three.js WebGPURenderer uses node effects and RenderPipeline on r183+; verify that backend separately.
  • Let one owner render the final scene. EffectComposer uses a positive frame priority; an additional manual gl.render can overwrite or duplicate its output.
  • Ordinary Bloom can isolate bright surfaces via an HDR threshold. Use SelectiveBloom only when actual object selection is required; it adds work.

Actual selected-object bloom

Mount beneath Canvas. Click the left box to toggle selection. Both boxes are bright, but only the selected object contributes to this bloom pass.

Details

Repository
github.com/enzed/r3f-skills
Categories
Frontend & UI Code, 3D, CAD & Modeling
First seen
May 16, 2026

More from enzed/r3f-skills

All 11

Similar to R3f Postprocessing

More Frontend & UI Code