
postfx-effects
Post-processing visual effects including chromatic aberration, vignette, depth of field, film grain, color grading, and LUT support. Use when adding cinematic polish, retro aesthetics, camera simulation, or atmospheric effects to 3D scenes. Essential for mood, style, and visual storytelling.
- Installs
- 103
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/bbeierle12/skill-mcp-claude --skill postfx-effects- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads postfx-effects automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Post-Processing Effects
Cinematic and stylistic effects using @react-three/postprocessing.
Quick Start
npm install @react-three/postprocessing postprocessing
import { Canvas } from '@react-three/fiber';
import { EffectComposer, ChromaticAberration, Vignette, Noise } from '@react-three/postprocessing';
function CinematicScene() {
return (
<Canvas>
<Scene />
<EffectComposer>
<ChromaticAberration offset={[0.002, 0.002]} />
<Vignette darkness={0.5} offset={0.3} />
<Noise opacity={0.05} />
</EffectComposer>
</Canvas>
);
}
Core Effects
Chromatic Aberration
RGB channel separation for lens distortion or glitch effects.
import { ChromaticAberration } from '@react-three/postprocessing';
import { BlendFunction } from 'postprocessing';
import { Vector2 } from 'three';
// Subtle cinematic fringing
function SubtleChromaticAberration() {
return (
<ChromaticAberration
offset={new Vector2(0.001, 0.001)}
radialModulation
modulationOffset={0.2}
/>
);
}
// Intense glitch effect
function GlitchChromaticAberration() {
const offsetRef = useRef();
useFrame(({ clock }) => {
if (offsetRef.current) {
const glitch = Math.random() > 0.95 ? 0.01 : 0.002;
offsetRef.current.offset.set(glitch, glitch * 0.5);
}
});
return (
<ChromaticAberration
ref={offsetRef}
offset={new Vector2(0.002, 0.002)}
blendFunction={BlendFunction.NORMAL}
/>
);
}
Vignette
Darkened edges for focus and cinematic framing.
import { Vignette } from '@react-three/postprocessing';
// Soft cinematic vignette
function CinematicVignette() {
return (
<Vignette
offset={0.3} // Distance from center before darkening
darkness={0.5} // How dark edges become
eskil={false} // Use natural vignette formula
/>
);
}
// Harsh spotlight effect
function SpotlightVignette() {
return <Vignette offset={0.1} darkness={0.9} eskil={true} />;
}
Depth of Field
Simulated camera focus with bokeh blur.
import { DepthOfField } from '@react-three/postprocessing';
// Focus on specific distance
function StaticDOF() {
return (
<DepthOfField
focusDistance={0.02}
focalLength={0.05}
bokehScale={3}
height={480}
/>
);
}
// Focus follows target object
function TrackingDOF({ targetRef }) {
const dofRef = useRef();
const { camera } = useThree();
useFrame(() => {
if (targetRef.current && dofRef.current) {
const distance = camera.position.distanceTo(targetRef.current.position);
dofRef.current.target = distance;
}
});
return <DepthOfField ref={dofRef} focusDistance={0} focalLength={0.02} bokehScale={2} />;
}
Noise / Film Grain
import { Noise } from '@react-three/postprocessing';
import { BlendFunction } from 'postprocessing';
// Subtle film grain
function FilmGrain() {
return <Noise opacity={0.04} blendFunction={BlendFunction.OVERLAY} />;
}
// Heavy VHS noise
function VHSNoise() {
return <Noise opacity={0.15} blendFunction={BlendFunction.SCREEN} />;
}
Color Grading
import { HueSaturation, BrightnessContrast } from '@react-three/postprocessing';
// Desaturated cinematic look
function CinematicGrade() {
return (
<>
<HueSaturation hue={0} saturation={-0.2} />
<BrightnessContrast brightness={-0.05} contrast={0.1} />
</>
);
}
// Warm sunset mood
function SunsetGrade() {
return (
<>
<HueSaturation hue={0.05} saturation={0.15} />
<BrightnessContrast brightness={0.02} contrast={0.05} />
</>
);
}
// Cold sci-fi atmosphere
function SciFiGrade() {
return (
<>
<HueSaturation hue={-0.1} saturation={-0.1} />
<BrightnessContrast brightness={-0.1} contrast={0.15} />
</>
);
}
LUT (Lookup Table)
import { LUT } from '@react-three/postprocessing';
import { LookupTexture } from 'postprocessing';
function LUTGrading() {
const [lut, setLut] = useState(null);
useEffect(() => {
LookupTexture.createLookupTexture('/luts/cinematic.cube').then(setLut);
}, []);
if (!lut) return null;
return <LUT lut={lut} tetrahedralInterpolation />;
}
Tone Mapping
import { ToneMapping } from '@react-three/postprocessing';
import { ToneMappingMode } from 'postprocessing';
function CinematicToneMapping() {
return <ToneMapping mode={ToneMappingMode.ACES_FILMIC} />;
}
Scanlines / CRT Effect
import { Scanline } from '@react-three/postprocessing';
function CRTScanlines() {
return <Scanline density={1.25} opacity={0.15} blendFunction={BlendFunction.OVERLAY} />;
}
God Rays
import { GodRays } from '@react-three/postprocessing';
function VolumetricLight() {
const sunRef = useRef();
return (
<>
<mesh ref={sunRef} position={[0, 5, -10]}>
<sphereGeometry args={[1, 32, 32]} />
<meshBasicMaterial color="#FFF8E0" />
</mesh>
<EffectComposer>
{sunRef.current && <GodRays sun={sunRef.current} exposure={0.5} decay={0.9} blur />}
</EffectComposer>
</>
);
}
Combining Effects
Cinematic Stack
function CinematicStack() {
return (
<EffectComposer>
<ToneMapping mode={ToneMappingMode.ACES_FILMIC} />
<HueSaturation saturation={-0.15} />
<BrightnessContrast brightness={-0.05} contrast={0.1} />
<ChromaticAberration offset={[0.001, 0.001]} />
<Vignette darkness={0.4} offset={0.3} />
<Noise opacity={0.03} blendFunction={BlendFunction.OVERLAY} />
</EffectComposer>
);
}
Retro VHS Stack
function VHSStack() {
return (
<EffectComposer>
<HueSaturation saturation={-0.3} />
<BrightnessContrast contrast={0.2} />
<ChromaticAberration offset={[0.005, 0.002]} />
<Scanline density={1.5} opacity={0.1} />
<Noise opacity={0.1} blendFunction={BlendFunction.SCREEN} />
<Vignette darkness={0.6} offset={0.2} />
</EffectComposer>
);
}
Dream Sequence Stack
function DreamStack() {
return (
<EffectComposer>
<DepthOfField focusDistance={0.01} focalLength={0.1} bokehScale={4} />
<Bloom luminanceThreshold={0.3} intensity={0.8} />
<HueSaturation saturation={0.2} hue={0.05} />
<BrightnessContrast brightness={0.1} />
<Vignette darkness={0.3} offset={0.4} />
</EffectComposer>
);
}
Animated Effects
Time-Driven Color Shift
function TimeDrivenEffects() {
const hueRef = useRef();
const vignetteRef = useRef();
useFrame(({ clock }) => {
const t = clock.elapsedTime;
if (hueRef.current) hueRef.current.hue = Math.sin(t * 0.1) * 0.1;
if (vignetteRef.current) vignetteRef.current.darkness = 0.4 + Math.sin(t * 2) * 0.1;
});
return (
<EffectComposer>
<HueSaturation ref={hueRef} saturation={0} hue={0} />
<Vignette ref={vignetteRef} darkness={0.4} offset={0.3} />
</EffectComposer>
);
}
Audio-Reactive Effects
function AudioReactiveEffects({ audioData }) {
const chromaRef = useRef();
const vignetteRef = useRef();
useFrame(() => {
if (!audioData) return;
const bass = audioData[0] / 255;
const mid = audioData[4] / 255;
if (chromaRef.current) {
const offset = 0.001 + bass * 0.005;
chromaRef.current.offset.set(offset, offset * 0.5);
}
if (vignetteRef.current) {
vignetteRef.current.darkness = 0.3 + mid * 0.3;
}
});
return (
<EffectComposer>
<ChromaticAberration ref={chromaRef} offset={[0.001, 0.001]} />
<Vignette ref={vignetteRef} darkness={0.4} offset={0.3} />
</EffectComposer>
);
}
Temporal Collapse Theme
Effects stack for cosmic countdown aesthetic:
function TemporalCollapseEffects() {
const chromaRef = useRef();
useFrame(({ clock }) => {
if (chromaRef.current) {
const pulse = Math.sin(clock.elapsedTime * 1.5) * 0.001;
chromaRef.current.offset.set(0.002 + pulse, 0.001 + pulse * 0.5);
}
});
return (
<EffectComposer>
<ToneMapping mode={ToneMappingMode.ACES_FILMIC} />
<HueSaturation hue={-0.05} saturation={-0.1} />
<BrightnessContrast brightness={-0.05} contrast={0.1} />
<ChromaticAberration ref={chromaRef} offset={[0.002, 0.001]} />
<Vignette darkness={0.5} offset={0.25} />
<Noise opacity={0.02} blendFunction={BlendFunction.OVERLAY} />
</EffectComposer>
);
}
Performance Tips
| Technique | Impact | Solution |
|---|---|---|
| Multiple blur effects | High | Combine DOF with bloom carefully |
| High DOF resolution | High | Use height={480} or lower |
| LUT loading | Medium | Preload, cache texture |
| Many effects | Medium | Order effects efficiently |
function OptimizedEffects() {
return (
<EffectComposer multisampling={0}>
<ToneMapping mode={ToneMappingMode.ACES_FILMIC} />
<Vignette darkness={0.4} />
<Noise opacity={0.02} />
<Bloom intensity={1} mipmapBlur levels={4} />
</EffectComposer>
);
}
Reference
- See
postfx-composerfor EffectComposer setup and render targets - See
postfx-bloomfor dedicated bloom techniques - See
postfx-routerfor effect selection guidance
FAQ
What does the postfx-effects skill do?
Post-processing visual effects including chromatic aberration, vignette, depth of field, film grain, color grading, and LUT support. Use when adding cinematic polish, retro aesthetics, camera simulation, or atmospheric effects to 3D scenes. Essential for mood, style, and visual storytelling.
How do I install postfx-effects?
Run npx skills add https://github.com/bbeierle12/skill-mcp-claude --skill postfx-effects in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/postfx-effects/ (personal) or .claude/skills/postfx-effects/ (project).
Which AI agents can use postfx-effects?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is postfx-effects safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains postfx-effects?
It is published by bbeierle12 in bbeierle12/skill-mcp-claude. It has 103 recorded installs.
More from bbeierle12/skill-mcp-claude
gsap-react
bbeierle12/skill-mcp-claude
GSAP integration with React including useGSAP hook, ref handling, cleanup patterns, and context management. Use when implementing GSAP animations in React components, handling component lifecycle, or building reusable animation hooks.
gsap-scrolltrigger
bbeierle12/skill-mcp-claude
Scroll-based animations using GSAP ScrollTrigger plugin including pinning, scrubbing, snap points, and parallax effects. Use when creating scroll-driven animations, sticky sections, progress indicators, or parallax scrolling experiences.
gsap-fundamentals
bbeierle12/skill-mcp-claude
Open the skill to read its SKILL.md instructions.
shader-effects
bbeierle12/skill-mcp-claude
Open the skill to read its SKILL.md instructions.
d3js-visualization
bbeierle12/skill-mcp-claude
Open the skill to read its SKILL.md instructions.
shader-fundamentals
bbeierle12/skill-mcp-claude
Open the skill to read its SKILL.md instructions.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available