Communitygithub.com

majiayu000/claude-skill-registry-data

GLSL 프래그먼트 셰이더를 작성하여 절차적 그래픽스를 생성합니다. 주제: 도형(SDF), 패턴, 노이즈(Perlin/simplex/cellular), fBm, 색상(HSB/RGB), 행렬, 그라디언트, 애니메이션. 생성형 아트, 텍스처, 시각 효과, WebGL, Three.js 셰이더에 사용하세요.

claude-skill-registry-data란 무엇인가요?

이 스킬은 GPU 가속 프래그먼트 셰이더를 작성하여 절차적 그래픽, 텍스처, 시각 효과를 생성하는 방법을 제공합니다. 프래그먼트 셰이더는 모든 픽셀에서 동시에 실행되며, 위치 정보(`gl_FragCoord`)를 받아 색상(`gl_FragColor`)을 반환합니다. 주요 개념으로 SDF(부호 거리 함수)를 이용한 도형 그리기, Perlin/Simplex/Cellular 노이즈, fBm(분수 브라운 운동), HSB/RGB 색상 공간 및 그라디언트, 그리고 행렬 변환과 애니메이션을 다룹니다. 이 스킬은 The Book of Shaders, LYGIA 라이브러리, ShaderToy, Inigo Quilez의 아티클 등 외부 리소스와 함께 사용할 수 있으며, Three.js, WebGL, Processing과 같은 플랫폼에서 커스텀 셰이더를 작성할 때 유용합니다. 또한 GLSL 내장 함수(mix, step, smoothstep, fract 등)와 빠른 패턴(원, 사각형, 타일링, 애니메이션)을 제공하여 개발자가 손쉽게 시작하고 참조할 수 있도록 구성되어 있습니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry-data/tree/HEAD/creative/shader-hoanghd218-landing-page-ai-kien

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

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

문서

GLSL 프래그먼트 셰이더

절차적 그래픽, 텍스처 및 시각 효과를 위한 GPU 가속 프래그먼트 셰이더를 작성합니다.

사용 시기

  • 절차적 텍스처 생성 (나무, 대리석, 구름, 지형)
  • 거리 필드(SDF)를 사용한 도형 그리기
  • 패턴, 노이즈, 그라디언트 생성
  • 시각 효과 및 애니메이션 구축
  • Three.js, WebGL, Processing용 커스텀 셰이더 작성

핵심 개념

프래그먼트 셰이더는 모든 픽셀에서 동시에 실행됩니다. 각 스레드는:

  • gl_FragCoord를 통해 픽셀 위치를 받음
  • gl_FragColor(vec4: RGBA 0.0-1.0)를 통해 색상을 반환
  • 다른 스레드와 통신할 수 없음 (무상태)

표준 Uniform

uniform float u_time;       // 경과 시간(초)
uniform vec2 u_resolution;  // 캔버스 크기 (너비, 높이)
uniform vec2 u_mouse;       // 마우스 위치 (픽셀 단위)

좌표 정규화: vec2 st = gl_FragCoord.xy / u_resolution;

필수 함수

함수목적예시
mix(a,b,t)선형 보간mix(red, blue, 0.5)
step(edge,x)하드 임계값step(0.5, st.x)
smoothstep(e0,e1,x)부드러운 임계값smoothstep(0.2, 0.8, st.x)
fract(x)소수 부분fract(st * 3.0) (타일링)
mod(x,y)모듈로mod(st.x, 0.25)
clamp(x,min,max)값 제한clamp(col, 0.0, 1.0)
length(v)벡터 크기length(st - 0.5)
distance(a,b)유클리드 거리distance(st, center)
dot(a,b)내적dot(normal, lightDir)
normalize(v)단위 벡터normalize(direction)
atan(y,x)각도 (라디안)atan(st.y-0.5, st.x-0.5)
sin/cos/pow/abs수학 함수하드웨어 가속

빠른 패턴

원:

float d = distance(st, vec2(0.5));
float circle = 1.0 - smoothstep(0.2, 0.21, d);

사각형:

vec2 bl = step(vec2(0.1), st);
vec2 tr = step(vec2(0.1), 1.0 - st);
float rect = bl.x * bl.y * tr.x * tr.y;

타일링:

st = fract(st * 4.0);  // 4x4 그리드

애니메이션:

float wave = sin(st.x * 10.0 + u_time) * 0.5 + 0.5;

참고 자료 (점진적 공개)

기초

  • references/glsl-fundamentals-data-types-vectors-precision-coordinates.md
  • references/glsl-shaping-functions-step-smoothstep-curves-interpolation.md

그리기

  • references/glsl-colors-rgb-hsb-gradients-mixing-color-spaces.md
  • references/glsl-shapes-sdf-circles-rectangles-polar-distance-fields.md
  • references/glsl-shapes-polygon-star-polar-sdf-combinations.md

절차적

  • references/glsl-patterns-tiling-fract-matrices-transformations.md
  • references/glsl-pattern-symmetry-truchet-domain-warping.md
  • references/glsl-noise-random-perlin-simplex-cellular-voronoi.md
  • references/glsl-cellular-voronoi-worley-noise-patterns.md
  • references/glsl-fbm-fractional-brownian-motion-turbulence-octaves.md
  • references/glsl-procedural-textures-clouds-marble-wood-terrain.md

API 참조

  • references/glsl-shader-builtin-functions-complete-api-reference.md

도구

  • 온라인 편집기: editor.thebookofshaders.com
  • glslViewer: .frag 파일 실행용 CLI 도구
  • glslCanvas: 라이브 셰이더용 HTML 임베드
  • ShaderToy: iTime, iResolution, iMouse uniform

외부 리소스

Individual skills in this repo

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

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry-data

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry-data

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry-data

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry-data

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry-data

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

majiayu000/claude-skill-registry-data

Conduct domain and industry research. Use when the user says "lets create a research report on [domain or industry]

majiayu000/claude-skill-registry-data

Conduct market research on competition and customers. Use when the user says "create a market research report about [business idea]".

majiayu000/claude-skill-registry-data

Conduct technical research on technologies and architecture. Use when the user says "create a technical research report on [topic]".

majiayu000/claude-skill-registry-data

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

관련 스킬