Skip to main content
skill CX Codex

threejs-postprocessing · cesartevisual — Claude Code skill for Three.js effects

This Claude Code skill adds or debugs Three.js postprocessing. It handles tasks involving bloom, antialiasing, ambient occlusion, depth effects, and render-target composition.

MIT 651 installs ★ 26 updated 2026-09-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cesartevisual/threejs-skills --skill threejs-postprocessing -a claude-code
Open on GitHub

What threejs-postprocessing does

The skill guides changes to a Three.js postprocessing pipeline and helps diagnose problems in one. It starts by identifying the renderer family in use: WebGL EffectComposer, pmndrs postprocessing, or a WebGPU node pipeline. Their interfaces differ, so the project should keep to one pipeline for its backend.

It covers pass order, intermediate color space, target precision, depth, alpha behavior, and the final display conversion. Bloom guidance uses HDR scene values and a deliberate threshold; antialiasing is chosen for the finished composition rather than assumed to cover offscreen targets. Full-resolution render targets need a budget, and costly passes can be reduced or disabled on weaker devices.

The skill also addresses resizing and disposing passes and targets when a pipeline changes. Suggested checks include comparing enabled and disabled effects, testing bright and dark content, alpha edges, resizing, and effect cost on the target device. For exact API signatures, it points to Three.js documentation, or to installed types and source when docs cannot be accessed. It follows the versions and architecture already present in the project.

What it helps with

  • add thresholded bloom to a Three.js scene
  • choose a postprocessing pipeline that fits the renderer backend
  • apply antialiasing to the final composition and offscreen targets
  • resize passes and release render targets when replacing a pipeline
  • check depth data, alpha handling, and output color conversion

Example prompts for the agent

  • Add bloom to this Three.js scene without making the whole interface glow.
  • Debug the ambient occlusion pass and check whether the camera provides compatible depth data.
  • Check postprocessing resize behavior and dispose of passes when the pipeline is replaced.

How to install threejs-postprocessing

1Skills CLI (Vercel)

npx skills add cesartevisual/threejs-skills --skill threejs-postprocessing -a claude-code

2Manually: put the files in place

~/.claude/skills/threejs-postprocessing/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/threejs-postprocessing/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about threejs-postprocessing

How do I install threejs-postprocessing in Claude Code?

Run npx skills add cesartevisual/threejs-skills --skill threejs-postprocessing -a claude-code. The skill file is installed at ~/.claude/skills/threejs-postprocessing/SKILL.md.

What does threejs-postprocessing do?

It helps add and debug Three.js effects such as bloom, antialiasing, ambient occlusion, depth effects, and render-target composition. It also covers pipeline setup and resource cleanup.

How do the Three.js postprocessing pipelines differ?

WebGL EffectComposer, pmndrs postprocessing, and WebGPU node pipelines have different contracts. The skill recommends identifying the renderer and keeping each requested backend on one coherent pipeline.

Source text

SKILL.md · MIT
---
name: threejs-postprocessing
description: "Add or debug Three.js bloom, antialiasing, ambient occlusion, depth effects, and render-target composition."
---

# Postprocessing Pipelines

Use the project's installed versions and existing architecture. These instructions supplement the user's task; they do not authorize unrelated changes or external actions.

Identify the existing renderer and composer family before adding passes. Three.js WebGL EffectComposer, pmndrs postprocessing, and WebGPU node pipelines have different contracts. Choose one coherent pipeline for the requested backend.

Write down the render order, intermediate color space, target precision, depth requirements, alpha behavior, and final display conversion. Apply tone mapping/output conversion once in the appropriate place. Compare against direct rendering before stacking effects.

Use HDR scene values and a deliberate threshold for selective bloom. Avoid making the entire interface glow to disguise weak lighting. Depth-dependent effects need compatible depth data and sensible camera planes. Antialiasing must fit the final composition rather than assuming canvas MSAA smooths offscreen targets.

Resize all passes and targets with viewport and quality changes. Budget full-resolution targets and reduce effect resolution or disable expensive passes on weaker devices. Preserve HTML readability and transparent-canvas composition if the design uses it.

Dispose owned passes and render targets, including replacement pipelines. Verify disabled/enabled comparison, bright and dark content, alpha edges, resize, and effect cost on the target device. Keep effect tuning separate from fixing incorrectly tagged textures.

## API reference

Consult the [official documentation](https://threejs.org/docs/pages/EffectComposer.html) for exact signatures and revision-specific behavior. If documentation access is unavailable, inspect installed types/source and state any remaining uncertainty.

© cesartevisual · MIT · cesartevisual/threejs-skills

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →

threejs-postprocessing by other authors comes first.

threejs-postprocessing CloudAI-X threejs-postprocessing — a skill that adds post-processing pass chains to Three.js: bloom, depth of field, ambient occlusion, and custom screen shaders. Use it when you need visual effects, color grading, or blur on WebGL and WebGPU. CX Codex +1 19,700installs threejs-postprocessing calesthio This skill helps an agent add Three.js post-processing such as glow, blur, depth of field, and screen effects. Use it when building a scene’s visual pipeline. CX Codex +1 1,200installs postprocessing-optimization zebbern postprocessing-optimization is a rule for Three.js and React Three Fiber that helps optimize post-processing by combining shader passes and tuning render settings. CX Codex +1 ★ 4,719repo stars r3f-postprocessing EnzeD r3f-postprocessing — a skill that walks the agent through postprocessing in React Three Fiber: glow on chosen meshes, depth of field, SSAO. Useful when the render looks off and you cannot pin down why. CX Codex +1 2,300installs threejs-fundamentals CloudAI-X threejs-fundamentals sets up Three.js r186 scenes, cameras, renderers, and animation loops for WebGL or WebGPU with TSL. CX Codex +1 24,100installs threejs-shaders CloudAI-X threejs-shaders guides the agent through writing GLSL shaders, custom materials, and TSL nodes for Three.js r186 across WebGL and WebGPU. CX Codex +1 22,000installs threejs-scene-setup gamedev-skills threejs-scene-setup — a skill for Claude Code sets up a basic three.js r187 scene, camera, renderer, and animation loop. Runs on import errors, blank canvases, or static frames. CX Codex +1 11,100installs threejs-webgl freshtechbro threejs-webgl configures coding agents to build Three.js scenes, set up WebGL or WebGPU renderers, adjust lighting, and load glTF models for web 3D apps. CX Codex +1 5,300installs

From the same set24

The whole set →
threejs-assets The threejs-assets Claude Code skill guides loading and managing glTF models, textures, and user-provided 3D files. It applies to asset validation, compression, caching, and cleanup in Three.js projects. CX Codex +1 676installs threejs-scene This skill for Claude Code configures Three.js scene hierarchies, camera framing, coordinate transforms, and renderer lifecycles. It enforces proper GPU cleanup and bounds calculations. CX Codex +1 671installs threejs-materials The threejs-materials Claude Code skill configures Three.js PBR materials, textures, transparency, and color handling. It activates when a scene needs a surface setup or a material-related color fix. CX Codex +1 668installs threejs-debugging The threejs-debugging Claude Code skill traces rendering faults in Three.js scenes. It kicks in for blank canvases, missing meshes, color issues, flicker, picking failures, or lost graphics context. CX Codex +1 658installs threejs-particles Claude Code skill for building Three.js particle systems, point clouds, and GPU simulations. CX Codex +1 648installs threejs-accessibility The threejs-accessibility Claude Code skill makes Three.js interactions usable with keyboards and assistive technology. It applies when adding accessibility to 3D scenes and controls. CX Codex +1 644installs threejs-geometry This Claude Code skill creates and refines Three.js geometry. It activates for work on BufferGeometry, procedural meshes, and instanced objects. CX Codex +1 638installs threejs-product-viewer This Claude Code skill guides the creation of interactive Three.js product viewers. It comes into play when a project needs material choices, camera presets, or model hotspots. CX Codex +1 621installs

Project sponsors

Companies that keep this analytics open