enzed avatar

R3f Postprocessing

This wraps the @react-three/postprocessing library for adding screen effects to React Three Fiber scenes. You get bloom for glowing objects, depth of field with bokeh, SSAO for contact shadows, chromatic aberration, vignettes, outlines, and color grading. The selective bloom feature is genuinely useful since you can make specific meshes glow without affecting the whole scene. Effects stack inside an EffectComposer, and most have sensible defaults but expose enough parameters to tweak. Performance can tank with multiple heavy effects, so watch your frame rate. The tone mapping options are solid if you're working with HDR content or emissive materials above 1.0.

skills.sh installs
2.1K
GitHub stars
135
last updated
Aug 21, 2026

Install

$ npx -y skills add enzed/r3f-skills --skill r3f-postprocessing --agent claude-code

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/enzed/r3f-skills
Categories
Frontend Development, Go, Design & UI/UX, CLI & Terminal
First seen
May 16, 2026

More from enzed/r3f-skills

All 11
1browserbase avatarevent-prospectingbrowserbase/skillsEvent prospecting skill. Takes a conference / event speakers URL, extracts the people, filters their companies against the user's ICP, then deep-researches only2.1Kskills.sh installs
2enzed avatarr3f-materialsenzed/r3f-skillsReact Three Fiber materials - PBR materials, Drei materials, shader materials, material properties. Use when styling meshes, creating custom materials, working 2.1Kskills.sh installs
3enzed avatarr3f-geometryenzed/r3f-skillsReact Three Fiber geometry - built-in shapes, BufferGeometry, instancing with Drei. Use when creating 3D shapes, custom meshes, point clouds, lines, or optimizi2.1Kskills.sh installs
4enzed avatarr3f-shadersenzed/r3f-skillsReact Three Fiber shaders - GLSL, shaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shader2.1Kskills.sh installs
5langgenius avatarbackend-code-reviewlanggenius/difyUse only when the user explicitly requests a review or audit of backend code under `api/`. Supports pending-change, file-focused, and pasted-diff reviews. Do no2.1Kskills.sh installs
6zernie avatartest-harnesszernie/vigilesInstall vigiles and test a Claude Code harness — hooks, skills, settings, CLAUDE.md — by picking the right tier (unit / deterministic / eval) and writing a test2.1Kskills.sh installs