shader-dev
できること
このスキルは、GLSLのコードで視覚効果を作るための36種類のシェーダー技法を扱います。3Dや動きのある高度な見た目がほしいグラフィックスのプログラマーやクリエイティブコーダー向けです。
使う場面
- ✓GLSLシェーダーで、3Dや動きのある効果を作りたいとき。
- ✓映像表現のために、ライティング、ノイズ、流体の効果が必要なとき。
- ✓説明からShaderToy風のシーンを作りたいとき。
スキルのリンク
https://github.com/MiniMax-AI/skills/blob/main/skills/shader-dev/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“柔らかい影のある、光る3D球と、動く煙を映すシェーダーを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、依頼に合う技法を見つけ、そのガイドを読みます。テンプレートをもとにシェーダーのコードを書きます。このスキルには、背景にある数学の詳しい参考メモも含まれています。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Shader Craft
A unified skill covering 36 GLSL shader techniques (ShaderToy-compatible) for real-time visual effects.
Invocation
/shader-dev <request>
$ARGUMENTS contains the user's request (e.g. "create a raymarched SDF scene with soft shadows").
Skill Structure
shader-dev/
├── SKILL.md # Core skill (this file)
├── techniques/ # Implementation guides (read per routing table)
│ ├── ray-marching.md # Sphere tracing with SDF
│ ├── sdf-3d.md # 3D signed distance functions
│ ├── lighting-model.md # PBR, Phong, toon shading
│ ├── procedural-noise.md # Perlin, Simplex, FBM
│ └── ... # 34 more technique files
└── reference/ # Detailed guides (read as needed)
├── ray-marching.md # Math derivations & advanced patterns
├── sdf-3d.md # Extended SDF theory
├── lighting-model.md # Lighting math deep-dive
├── procedural-noise.md # Noise function theory
└── ... # 34 more reference files
How to Use
- Read the Technique Routing Table below to identify which technique(s) match the user's request
- Read the relevant file(s) from
techniques/— each file contains core principles, implementation steps, and complete code templates - If you need deeper understanding (math derivations, advanced patterns), follow the reference link at the bottom of each technique file to
reference/ - Apply the WebGL2 Adaptation Rules below when generating standalone HTML pages
Technique Routing Table
| User wants to create... | Primary technique | Combine with |
|---|---|---|
| 3D objects / scenes from math | ray-marching + sdf-3d | lighting-model, shadow-techniques |
| Complex 3D shapes (booleans, blends) | csg-boolean-operations | sdf-3d, ray-marching |
| Infinite repeating patterns in 3D | domain-repetition | sdf-3d, ray-marching |
| Organic / warped shapes | domain-warping | procedural-noise |
| Fluid / smoke / ink effects | fluid-simulation | multipass-buffer |
| Particle effects (fire, sparks, snow) | particle-system | procedural-noise, color-palette |
| Physically-based simulations | simulation-physics | multipass-buffer |
| Game of Life / reaction-diffusion | cellular-automata | multipass-buffer, color-palette |
| Ocean / water surface | water-ocean | atmospheric-scattering, lighting-model |
| Terrain / landscape | terrain-rendering | atmospheric-scattering, procedural-noise |
| Clouds / fog / volumetric fire | volumetric-rendering | procedural-noise, atmospheric-scattering |
| Sky / sunset / atmosphere | atmospheric-scattering | volumetric-rendering |
| Realistic lighting (PBR, Phong) | lighting-model | shadow-techniques, ambient-occlusion |
| Shadows (soft / hard) | shadow-techniques | lighting-model |
| Ambient occlusion | ambient-occlusion | lighting-model, normal-estimation |
| Path tracing / global illumination | path-tracing-gi | analytic-ray-tracing, multipass-buffer |
| Precise ray-geometry intersections | analytic-ray-tracing | lighting-model |
| Voxel worlds (Minecraft-style) | voxel-rendering | lighting-model, shadow-techniques |
| Noise / FBM textures | procedural-noise | domain-warping |
| Tiled 2D patterns | procedural-2d-pattern | polar-uv-manipulation |
| Voronoi / cell patterns | voronoi-cellular-noise | color-palette |
| Fractals (Mandelbrot, Julia, 3D) | fractal-rendering | color-palette, polar-uv-manipulation |
| Color grading / palettes | color-palette | — |
| Bloom / tone mapping / glitch | post-processing | multipass-buff |
よくある質問
数学を知っている必要がありますか?
いいえ。各技法のコードのテンプレートがあり、数学の詳しい説明は参考メモにあります。
一つの依頼で複数の技法を使えますか?
はい。レイマーチングやノイズなど、一致するすべての技法に依頼を振り分けます。
いくつの技法が含まれていますか?
リアルタイムの効果のための、36種類のGLSLシェーダー技法を扱います。
詳細
作者による元の説明
Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.
repo: MiniMax-AI/skills
人気
- GitHubのスター
- 14k
- ランキング
- #11300
- ライセンス
- MIT
- 更新日
- 2026/4/18
コメント
- …
このリポジトリの他のスキル
design-style-skill
14kエージェントが、スライドの見た目を一つの統一されたスタイルに決められるよう支援します。シャープで引き締まったものから、やわらかく丸みのあるもの、ゆったりしたものまで選べます。
ppt-editing-skill
14kエージェントが既存のPowerPointファイルやテンプレートを安全に編集できるよう支援します。文字の変更、スライドの並べ替えや削除を行い、有効な資料として組み直します。
ppt-orchestra-skill
14kエージェントが、PowerPointの資料全体を作る前に計画できるよう支援します。各スライドを標準的なページの種類に分け、種類のばらつきと文章の品質を確認します。
slide-making-skill
14kエージェントが、PptxGenJSを使ったJavaScriptで一枚のPowerPointスライドを作れるよう支援します。レイアウト、文字、画像、グラフ、フォントを扱い、ネイティブの.pptxファイルを作ります。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。