Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)14k · #11300

shader-dev

Skill này làm gì

Skill này bao gồm 36 kỹ thuật shader để tạo hiệu ứng hình ảnh bằng mã GLSL. Skill dành cho lập trình viên đồ họa và người sáng tạo mã muốn các hình ảnh 3D hoặc hoạt hình nâng cao.

Khi nào nên dùng

  • ✓Khi bạn muốn một hiệu ứng 3D hoặc hoạt hình được xây bằng shader GLSL.
  • ✓Khi bạn cần hiệu ứng ánh sáng, nhiễu hoặc chất lỏng cho một tác phẩm hình ảnh.
  • ✓Khi bạn muốn một cảnh kiểu ShaderToy được tạo từ mô tả.

Liên kết skill

https://github.com/MiniMax-AI/skills/blob/main/skills/shader-dev/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/MiniMax-AI/skills/blob/main/skills/shader-dev/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn một shader hiển thị một quả cầu 3D phát sáng có bóng mềm và khói hoạt hình.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm các kỹ thuật phù hợp với yêu cầu của bạn, đọc hướng dẫn của chúng, rồi viết mã shader dựa trên các mẫu. Skill cũng có các ghi chú tham khảo sâu hơn về toán học nền tảng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

  1. Read the Technique Routing Table below to identify which technique(s) match the user's request
  2. Read the relevant file(s) from techniques/ — each file contains core principles, implementation steps, and complete code templates
  3. If you need deeper understanding (math derivations, advanced patterns), follow the reference link at the bottom of each technique file to reference/
  4. 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
Câu hỏi thường gặp

Tôi có cần biết toán không?

Không. Skill cung cấp mẫu mã cho từng kỹ thuật, và các ghi chú tham khảo giải thích phần toán.

Một yêu cầu có thể dùng nhiều kỹ thuật không?

Có. Nó định tuyến yêu cầu của bạn đến mọi kỹ thuật phù hợp, như ray marching hoặc nhiễu.

Có bao nhiêu kỹ thuật được bao gồm?

Skill bao gồm 36 kỹ thuật shader GLSL cho hiệu ứng thời gian thực.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
14k
Vị trí xếp hạng
#11300
Giấy phép
MIT
Cập nhật
18/4/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự