Community이미지github.com

cloudai-x/threejs-postprocessing

Three.js 후처리(EffectComposer, 블룸, 피사계 심도, 화면 효과)를 위한 스킬입니다. 시각 효과, 색상 보정, 블러, 글로우를 추가하거나 사용자 정의 화면 공간 셰이더를 만들 때 사용하세요.

threejs-postprocessing란 무엇인가요?

이 스킬은 Three.js 기반 3D 애플리케이션에서 후처리(post-processing) 효과를 쉽게 통합하고 구성할 수 있도록 설계되었습니다. EffectComposer를 활용하여 블룸(Bloom), 피사계 심도(DOF), 색상 보정, 블러(blur), 글로우(glow)와 같은 다양한 시각 효과를 추가할 수 있으며, 사용자 정의 화면 공간 셰이더(custom screen-space shader)를 생성하는 데도 적합합니다. 개발자는 직관적인 인터페이스를 통해 복잡한 파이프라인을 설정하지 않고도 원하는 시각적 결과를 빠르게 얻을 수 있습니다. Claude Code, Cursor, Codex 등의 AI 에이전트 환경에서 활용할 수 있으며, SKILL.md 문서에 따라 자동으로 설정 및 사용 방법이 안내됩니다. 또한, 유지보수성과 확장성을 고려하여 설계되어, 필요에 따라 새로운 효과를 손쉽게 추가하거나 기존 효과를 조정할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cloudai-x/threejs-skills/tree/main/skills/threejs-postprocessing

Installed? Explore more 이미지 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

threejs-postprocessing은(는) 무엇을 하나요?

Three.js 후처리 - EffectComposer, 블룸, 피사계 심도(DOF), 화면 효과. 시각 효과, 색상 보정, 블러, 글로우를 추가하거나 사용자 정의 화면 공간 셰이더를 만들 때 사용하세요.

주요 기능

  • EffectComposer: 후처리 파이프라인을 관리합니다.
  • 블룸(Bloom): 밝은 영역에 글로우 효과를 추가합니다.
  • 피사계 심도(DOF): 초점이 맞지 않는 영역에 흐림 효과를 적용합니다.
  • 색상 보정: 색조, 채도, 명암을 조정합니다.
  • 블러(blur): 가우시안 및 기타 블러 필터를 제공합니다.
  • 사용자 정의 셰이더: GLSL을 사용한 독자적인 화면 효과를 만들 수 있습니다.

설치

npm install three @react-three/postprocessing

기본 사용법

import { EffectComposer, Bloom, DepthOfField, ChromaticAberration } from '@react-three/postprocessing';
import { EffectPass, RenderPass } from 'postprocessing';

// React Three Fiber 예시
function Scene() {
  return (
    <>
      <Effects>
        <Bloom
          intensity={1.0}
          luminanceThreshold={0.2}
          luminanceSmoothing={0.9}
        />
        <DepthOfField
          focusDistance={0.02}
          focalLength={0.1}
          bokehScale={5}
        />
      </Effects>
    </>
  );
}

사용자 정의 셰이더 예시

// 사용자 정의 화면 공간 셰이더
uniform float time;
uniform vec2 resolution;

void mainImage(out vec4 fragColor, in vec2 fragCoord) {
  vec2 uv = fragCoord / resolution.xy;
  vec3 color = texture2D(inputBuffer, uv).rgb;
  // 효과 적용
  color.r += sin(uv.x * 10.0 + time) * 0.1;
  fragColor = vec4(color, 1.0);
}

지원 플랫폼

  • Claude Code
  • Cursor
  • Codex
  • 기타 AI 에이전트 도구

참고 자료

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

cloudai-x/threejs-animation

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

cloudai-x/threejs-fundamentals

Three.js scene setup, cameras, renderer, Object3D hierarchy, coordinate systems. Use when setting up 3D scenes, creating cameras, configuring renderers, managing object hierarchies, or working with transforms.

cloudai-x/threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

cloudai-x/threejs-interaction

Three.js interaction - raycasting, controls, mouse/touch input, object selection. Use when handling user input, implementing click detection, adding camera controls, or creating interactive 3D experiences.

cloudai-x/threejs-lighting

Three.js lighting - light types, shadows, environment lighting. Use when adding lights, configuring shadows, setting up IBL, or optimizing lighting performance.

cloudai-x/threejs-loaders

Three.js asset loading - GLTF, textures, images, models, async patterns. Use when loading 3D models, textures, HDR environments, or managing loading progress.

cloudai-x/threejs-materials

Three.js materials - PBR, basic, phong, shader materials, material properties. Use when styling meshes, working with textures, creating custom shaders, or optimizing material performance.

cloudai-x/threejs-shaders

Three.js shaders - GLSL, ShaderMaterial, uniforms, custom effects. Use when creating custom visual effects, modifying vertices, writing fragment shaders, or extending built-in materials.

cloudai-x/threejs-textures

Three.js textures - texture types, UV mapping, environment maps, texture settings. Use when working with images, UV coordinates, cubemaps, HDR environments, or texture optimization.

관련 스킬