[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CR2VGFGXFGEX03WKS2Q3T6":3,"skill-same:01M7CR2VGFGXFGEX03WKS2Q3T6":350},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7CR2VGFGXFGEX03WKS2Q3T6","shader-dev",null,"Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: shader-dev\ndescription: Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.\ndescription_zh: \"GLSL Shader 视觉效果开发\"\ndescription_en: \"GLSL shader techniques for stunning visual effects\"\nlicense: MIT\nmetadata:\n  version: \"1.0\"\n  category: graphics\n---\n\n# Shader Craft\n\nA unified skill covering 36 GLSL shader techniques (ShaderToy-compatible) for real-time visual effects.\n\n## Invocation\n\n```\n\u002Fshader-dev \u003Crequest>\n```\n\n`$ARGUMENTS` contains the user's request (e.g. \"create a raymarched SDF scene with soft shadows\").\n\n## Skill Structure\n\n```\nshader-dev\u002F\n├── SKILL.md                      # Core skill (this file)\n├── techniques\u002F                   # Implementation guides (read per routing table)\n│   ├── ray-marching.md           # Sphere tracing with SDF\n│   ├── sdf-3d.md                 # 3D signed distance functions\n│   ├── lighting-model.md         # PBR, Phong, toon shading\n│   ├── procedural-noise.md       # Perlin, Simplex, FBM\n│   └── ...                       # 34 more technique files\n└── reference\u002F                    # Detailed guides (read as needed)\n    ├── ray-marching.md           # Math derivations & advanced patterns\n    ├── sdf-3d.md                 # Extended SDF theory\n    ├── lighting-model.md         # Lighting math deep-dive\n    ├── procedural-noise.md       # Noise function theory\n    └── ...                       # 34 more reference files\n```\n\n## How to Use\n\n1. Read the **Technique Routing Table** below to identify which technique(s) match the user's request\n2. Read the relevant file(s) from `techniques\u002F` — each file contains core principles, implementation steps, and complete code templates\n3. If you need deeper understanding (math derivations, advanced patterns), follow the reference link at the bottom of each technique file to `reference\u002F`\n4. Apply the **WebGL2 Adaptation Rules** below when generating standalone HTML pages\n\n## Technique Routing Table\n\n| User wants to create... | Primary technique | Combine with |\n|---|---|---|\n| 3D objects \u002F scenes from math | [ray-marching](techniques\u002Fray-marching.md) + [sdf-3d](techniques\u002Fsdf-3d.md) | lighting-model, shadow-techniques |\n| Complex 3D shapes (booleans, blends) | [csg-boolean-operations](techniques\u002Fcsg-boolean-operations.md) | sdf-3d, ray-marching |\n| Infinite repeating patterns in 3D | [domain-repetition](techniques\u002Fdomain-repetition.md) | sdf-3d, ray-marching |\n| Organic \u002F warped shapes | [domain-warping](techniques\u002Fdomain-warping.md) | procedural-noise |\n| Fluid \u002F smoke \u002F ink effects | [fluid-simulation](techniques\u002Ffluid-simulation.md) | multipass-buffer |\n| Particle effects (fire, sparks, snow) | [particle-system](techniques\u002Fparticle-system.md) | procedural-noise, color-palette |\n| Physically-based simulations | [simulation-physics](techniques\u002Fsimulation-physics.md) | multipass-buffer |\n| Game of Life \u002F reaction-diffusion | [cellular-automata](techniques\u002Fcellular-automata.md) | multipass-buffer, color-palette |\n| Ocean \u002F water surface | [water-ocean](techniques\u002Fwater-ocean.md) | atmospheric-scattering, lighting-model |\n| Terrain \u002F landscape | [terrain-rendering](techniques\u002Fterrain-rendering.md) | atmospheric-scattering, procedural-noise |\n| Clouds \u002F fog \u002F volumetric fire | [volumetric-rendering](techniques\u002Fvolumetric-rendering.md) | procedural-noise, atmospheric-scattering |\n| Sky \u002F sunset \u002F atmosphere | [atmospheric-scattering](techniques\u002Fatmospheric-scattering.md) | volumetric-rendering |\n| Realistic lighting (PBR, Phong) | [lighting-model](techniques\u002Flighting-model.md) | shadow-techniques, ambient-occlusion |\n| Shadows (soft \u002F hard) | [shadow-techniques](techniques\u002Fshadow-techniques.md) | lighting-model |\n| Ambient occlusion | [ambient-occlusion](techniques\u002Fambient-occlusion.md) | lighting-model, normal-estimation |\n| Path tracing \u002F global illumination | [path-tracing-gi](techniques\u002Fpath-tracing-gi.md) | analytic-ray-tracing, multipass-buffer |\n| Precise ray-geometry intersections | [analytic-ray-tracing](techniques\u002Fanalytic-ray-tracing.md) | lighting-model |\n| Voxel worlds (Minecraft-style) | [voxel-rendering](techniques\u002Fvoxel-rendering.md) | lighting-model, shadow-techniques |\n| Noise \u002F FBM textures | [procedural-noise](techniques\u002Fprocedural-noise.md) | domain-warping |\n| Tiled 2D patterns | [procedural-2d-pattern](techniques\u002Fprocedural-2d-pattern.md) | polar-uv-manipulation |\n| Voronoi \u002F cell patterns | [voronoi-cellular-noise](techniques\u002Fvoronoi-cellular-noise.md) | color-palette |\n| Fractals (Mandelbrot, Julia, 3D) | [fractal-rendering](techniques\u002Ffractal-rendering.md) | color-palette, polar-uv-manipulation |\n| Color grading \u002F palettes | [color-palette](techniques\u002Fcolor-palette.md) | — |\n| Bloom \u002F tone mapping \u002F glitch | [post-processing](techniques\u002Fpost-processing.md) | multipass-buffer |\n| Multi-pass ping-pong buffers | [multipass-buffer](techniques\u002Fmultipass-buffer.md) | — |\n| Texture \u002F sampling techniques | [texture-sampling](techniques\u002Ftexture-sampling.md) | — |\n| Camera \u002F matrix transforms | [matrix-transform](techniques\u002Fmatrix-transform.md) | — |\n| Surface normals | [normal-estimation](techniques\u002Fnormal-estimation.md) | — |\n| Polar coords \u002F kaleidoscope | [polar-uv-manipulation](techniques\u002Fpolar-uv-manipulation.md) | procedural-2d-pattern |\n| 2D shapes \u002F UI from SDF | [sdf-2d](techniques\u002Fsdf-2d.md) | color-palette |\n| Procedural audio \u002F music | [sound-synthesis](techniques\u002Fsound-synthesis.md) | — |\n| SDF tricks \u002F optimization | [sdf-tricks](techniques\u002Fsdf-tricks.md) | sdf-3d, ray-marching |\n| Anti-aliased rendering | [anti-aliasing](techniques\u002Fanti-aliasing.md) | sdf-2d, post-processing |\n| Depth of field \u002F motion blur \u002F lens effects | [camera-effects](techniques\u002Fcamera-effects.md) | post-processing, multipass-buffer |\n| Advanced texture mapping \u002F no-tile textures | [texture-mapping-advanced](techniques\u002Ftexture-mapping-advanced.md) | terrain-rendering, texture-sampling |\n| WebGL2 shader errors \u002F debugging | [webgl-pitfalls](techniques\u002Fwebgl-pitfalls.md) | — |\n\n## Technique Index\n\n### Geometry & SDF\n- **sdf-2d** — 2D signed distance functions for shapes, UI, anti-aliased rendering\n- **sdf-3d** — 3D signed distance functions for real-time implicit surface modeling\n- **csg-boolean-operations** — Constructive solid geometry: union, subtraction, intersection with smooth blending\n- **domain-repetition** — Infinite space repetition, folding, and limited tiling\n- **domain-warping** — Distort domains with noise for organic, flowing shapes\n- **sdf-tricks** — SDF optimization, bounding volumes, binary search refinement, hollowing, layered edges, debug visualization\n\n### Ray Casting & Lighting\n- **ray-marching** — Sphere tracing with SDF for 3D scene rendering\n- **analytic-ray-tracing** — Closed-form ray-primitive intersections (sphere, plane, box, torus)\n- **path-tracing-gi** — Monte Carlo path tracing for photorealistic global illumination\n- **lighting-model** — Phong, Blinn-Phong, PBR (Cook-Torrance), and toon shading\n- **shadow-techniques** — Hard shadows, soft shadows (penumbra estimation), cascade shadows\n- **ambient-occlusion** — SDF-based AO, screen-space AO approximation\n- **normal-estimation** — Finite-difference normals, tetrahedron technique\n\n### Simulation & Physics\n- **fluid-simulation** — Navier-Stokes fluid solver with advection, diffusion, pressure projection\n- **simulation-physics** — GPU-based physics: springs, cloth, N-body gravity, collision\n- **particle-system** — Stateless and stateful particle systems (fire, rain, sparks, galaxies)\n- **cellular-automata** — Game of Life, reaction-diffusion (Turing patterns), sand simulation\n\n### Natural Phenomena\n- **water-ocean** — Gerstner waves, FFT ocean, caustics, underwater fog\n- **terrain-rendering** — Heightfield ray marching, FBM terrain, erosion\n- **atmospheric-scattering** — Rayleigh\u002FMie scattering, god rays, SSS approximation\n- **volumetric-rendering** — Volume ray marching for clouds, fog, fire, explosions\n\n### Procedural Generation\n- **procedural-noise** — Value noise, Perlin, Simplex, Worley, FBM, ridged noise\n- **procedural-2d-pattern** — Brick, hexagon, truchet, Islamic geometric patterns\n- **voronoi-cellular-noise** — Voronoi diagrams, Worley noise, cracked earth, crystal\n- **fractal-rendering** — Mandelbrot, Julia sets, 3D fractals (Mandelbox, Mandelbulb)\n- **color-palette** — Cosine palettes, HSL\u002FHSV\u002FOklab, dynamic color mapping\n\n### Post-Processing & Infrastructure\n- **post-processing** — Bloom, tone mapping (ACES, Reinhard), vignette, chromatic aberration, glitch\n- **multipass-buffer** — Ping-pong FBO setup, state persistence across frames\n- **texture-sampling** — Bilinear, bicubic, mipmap, procedural texture lookup\n- **matrix-transform** — Camera look-at, projection, rotation, orbit controls\n- **polar-uv-manipulation** — Polar\u002Flog-polar coordinates, kaleidoscope, spiral mapping\n- **anti-aliasing** — SSAA, SDF analytical AA, temporal anti-aliasing (TAA), FXAA post-process\n- **camera-effects** — Depth of field (thin lens), motion blur, lens distortion, film grain, vignette\n- **texture-mapping-advanced** — Biplanar mapping, texture repetition avoidance, ray differential filtering\n\n### Audio\n- **sound-synthesis** — Procedural audio in GLSL: oscillators, envelopes, filters, FM synthesis\n\n### Debugging & Validation\n- **webgl-pitfalls** — Common WebGL2\u002FGLSL errors: `fragCoord`, `main()` wrapper, function order, macro limitations, uniform null\n\n## WebGL2 Adaptation Rules\n\nAll technique files use ShaderToy GLSL style. When generating standalone HTML pages, apply these adaptations:\n\n### Shader Version & Output\n- Use `canvas.getContext(\"webgl2\")`\n- Shader first line: `#version 300 es`, fragment shader adds `precision highp float;`\n- Fragment shader must declare: `out vec4 fragColor;`\n- Vertex shader: `attribute` → `in`, `varying` → `out`\n- Fragment shader: `varying` → `in`, `gl_FragColor` → `fragColor`, `texture2D()` → `texture()`\n\n### Fragment Coordinate\n- **Use `gl_FragCoord.xy`** instead of `fragCoord` (WebGL2 does not have `fragCoord` built-in)\n```glsl\n\u002F\u002F WRONG\nvec2 uv = (2.0 * fragCoord - iResolution.xy) \u002F iResolution.y;\n\u002F\u002F CORRECT\nvec2 uv = (2.0 * gl_FragCoord.xy - iResolution.xy) \u002F iResolution.y;\n```\n\n### main() Wrapper for ShaderToy Templates\n- ShaderToy uses `void mainImage(out vec4 fragColor, in vec2 fragCoord)`\n- WebGL2 requires standard `void main()` entry point — always wrap mainImage:\n```glsl\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n    \u002F\u002F shader code...\n    fragColor = vec4(col, 1.0);\n}\n\nvoid main() {\n    mainImage(fragColor, gl_FragCoord.xy);\n}\n```\n\n### Function Declaration Order\n- GLSL requires functions to be declared before use — either declare before use or reorder:\n```glsl\n\u002F\u002F WRONG — getAtmosphere() calls getSunDirection() before it's defined\nvec3 getAtmosphere(vec3 dir) { return getSunDirection(); } \u002F\u002F Error!\nvec3 getSunDirection() { return normalize(vec3(1.0)); }\n\n\u002F\u002F CORRECT — define callee first\nvec3 getSunDirection() { return normalize(vec3(1.0)); }\nvec3 getAtmosphere(vec3 dir) { return getSunDirection(); } \u002F\u002F Works\n```\n\n### Macro Limitations\n- `#define` cannot use function calls — use `const` instead:\n```glsl\n\u002F\u002F WRONG\n#define SUN_DIR normalize(vec3(0.8, 0.4, -0.6))\n\n\u002F\u002F CORRECT\nconst vec3 SUN_DIR = vec3(0.756, 0.378, -0.567); \u002F\u002F Pre-computed normalized value\n```\n\n### Script Tag Extraction\n- When extracting shader source from `\u003Cscript>` tags, ensure `#version` is the **first character** — use `.trim()`:\n```javascript\nconst fs = document.getElementById('fs').text.trim();\n```\n\n### Common Pitfalls\n- **Unused uniforms**: Compiler may optimize away unused uniforms, causing `gl.getUniformLocation()` to return `null` — always use uniforms in a way the compiler cannot optimize out\n- **Loop indices**: Use runtime constants in loops, not `#define` macros in some ES versions\n- **Terrain functions**: Functions like `terrainM(vec2)` need XZ components — use `terrainM(pos.xz + offset)` not `terrainM(pos + offset)`\n\n## HTML Page Setup\n\nWhen generating a standalone HTML page:\n\n- Canvas fills the entire viewport, auto-resizes on window resize\n- Page background black, no scrollbars: `body { margin: 0; overflow: hidden; background: #000; }`\n- Implement ShaderToy-compatible uniforms: `iTime`, `iResolution`, `iMouse`, `iFrame`\n- For multi-pass effects (Buffer A\u002FB), use WebGL2 framebuffer + ping-pong (see multipass-buffer technique)\n\n## Common Pitfalls\n\n### JS Variable Declaration Order (TDZ — causes white screen crash)\n\n`let`\u002F`const` variables must be declared at the **top** of the `\u003Cscript>` block, before any function that references them:\n\n```javascript\n\u002F\u002F 1. State variables FIRST\nlet frameCount = 0;\nlet startTime = Date.now();\n\n\u002F\u002F 2. Canvas\u002FGL init, shader compile, FBO creation\nconst canvas = document.getElementById('canvas');\nconst gl = canvas.getContext('webgl2');\n\u002F\u002F ...\n\n\u002F\u002F 3. Functions and event bindings LAST\nfunction resize() { \u002F* can now safely reference frameCount *\u002F }\nfunction render() { \u002F* ... *\u002F }\nwindow.addEventListener('resize', resize);\n```\n\nReason: `let`\u002F`const` have a Temporal Dead Zone — referencing them before declaration throws `ReferenceError`, causing a white screen.\n\n### GLSL Compilation Errors (self-check after writing shaders)\n\n- **Function signature mismatch**: Call must exactly match definition in parameter count and types. If defined as `float fbm(vec3 p)`, cannot call `fbm(uv)` with a `vec2`\n- **Reserved words as variable names**: Do not use: `patch`, `cast`, `sample`, `filter`, `input`, `output`, `common`, `partition`, `active`\n- **Strict type matching**: `vec3 x = 1.0` is illegal — use `vec3 x = vec3(1.0)`; cannot use `.z` to access a `vec2`\n- **No ternary on structs**: ESSL does not allow ternary operator on struct types — use `if`\u002F`else` instead\n\n### Performance Budget\n\nDeployment environments may use headless software rendering with limited GPU power. Stay within these limits:\n\n- Ray marching main loop: ≤ 128 steps\n- Volume sampling \u002F lighting inner loops: ≤ 32 steps\n- FBM octaves: ≤ 6 layers\n- Total nested loop iterations per pixel: ≤ 1000 (exceeding this freezes the browser)\n\n## Quick Recipes\n\nCommon effect combinations — complete rendering pipelines assembled from technique modules.\n\n### Photorealistic SDF Scene\n1. **Geometry**: sdf-3d (extended primitives) + csg-boolean-operations (cubic\u002Fquartic smin)\n2. **Rendering**: ray-marching + normal-estimation (tetrahedron method)\n3. **Lighting**: lighting-model (outdoor three-light model) + shadow-techniques (improved soft shadow) + ambient-occlusion\n4. **Atmosphere**: atmospheric-scattering (height-based fog with sun tint)\n5. **Post**: post-processing (ACES tone mapping) + anti-aliasing (2x SSAA) + camera-effects (vignette)\n\n### Organic \u002F Biological Forms\n1. **Geometry**: sdf-3d (extended primitives + deformation operators: twist, bend) + csg-boolean (gradient-aware smin for material blending)\n2. **Detail**: procedural-noise (FBM with derivatives) + domain-warping\n3. **Surface**: lighting-model (subsurface scattering approximation via half-Lambert)\n\n### Procedural Landscape\n1. **Terrain**: terrain-rendering + procedural-noise (erosion FBM with derivatives)\n2. **Texturing**: texture-mapping-advanced (biplanar mapping + no-tile)\n3. **Sky**: atmospheric-scattering (Rayleigh\u002FMie + height fog)\n4. **Water**: water-ocean (Gerstner waves) + lighting-model (Fresnel reflections)\n\n### Stylized 2D Art\n1. **Shapes**: sdf-2d (extended library) + sdf-tricks (layered edges, hollowing)\n2. **Color**: color-palette (cosine palettes) + polar-uv-manipulation (kaleidoscope)\n3. **Polish**: anti-aliasing (SDF analytical AA) + post-processing (bloom, chromatic aberration)\n\n## Shader Debugging Techniques\n\nVisual debugging methods — temporarily replace your output to diagnose issues.\n\n| What to check | Code | What to look for |\n|---|---|---|\n| Surface normals | `col = nor * 0.5 + 0.5;` | Smooth gradients = correct normals; banding = epsilon too large |\n| Ray march step count | `col = vec3(float(steps) \u002F float(MAX_STEPS));` | Red hotspots = performance bottleneck; uniform = wasted iterations |\n| Depth \u002F distance | `col = vec3(t \u002F MAX_DIST);` | Verify correct hit distances |\n| UV coordinates | `col = vec3(uv, 0.0);` | Check coordinate mapping |\n| SDF distance field | `col = (d > 0.0 ? vec3(0.9,0.6,0.3) : vec3(0.4,0.7,0.85)) * (0.8 + 0.2*cos(150.0*d));` | Visualize SDF bands and zero-crossing |\n| Checker pattern (UV) | `col = vec3(mod(floor(uv.x*10.)+floor(uv.y*10.), 2.0));` | Verify UV distortion, seams |\n| Lighting only | `col = vec3(shadow);` or `col = vec3(ao);` | Isolate shadow\u002FAO contributions |\n| Material ID | `col = palette(matId \u002F maxMatId);` | Verify material assignment |\n","# Shader Craft\n\nA unified skill covering 36 GLSL shader techniques (ShaderToy-compatible) for real-time visual effects.\n\n## Invocation\n\n```\n\u002Fshader-dev \u003Crequest>\n```\n\n`$ARGUMENTS` contains the user's request (e.g. \"create a raymarched SDF scene with soft shadows\").\n\n## Skill Structure\n\n```\nshader-dev\u002F\n├── SKILL.md                      # Core skill (this file)\n├── techniques\u002F                   # Implementation guides (read per routing table)\n│   ├── ray-marching.md           # Sphere tracing with SDF\n│   ├── sdf-3d.md                 # 3D signed distance functions\n│   ├── lighting-model.md         # PBR, Phong, toon shading\n│   ├── procedural-noise.md       # Perlin, Simplex, FBM\n│   └── ...                       # 34 more technique files\n└── reference\u002F                    # Detailed guides (read as needed)\n    ├── ray-marching.md           # Math derivations & advanced patterns\n    ├── sdf-3d.md                 # Extended SDF theory\n    ├── lighting-model.md         # Lighting math deep-dive\n    ├── procedural-noise.md       # Noise function theory\n    └── ...                       # 34 more reference files\n```\n\n## How to Use\n\n1. Read the **Technique Routing Table** below to identify which technique(s) match the user's request\n2. Read the relevant file(s) from `techniques\u002F` — each file contains core principles, implementation steps, and complete code templates\n3. If you need deeper understanding (math derivations, advanced patterns), follow the reference link at the bottom of each technique file to `reference\u002F`\n4. Apply the **WebGL2 Adaptation Rules** below when generating standalone HTML pages\n\n## Technique Routing Table\n\n| User wants to create... | Primary technique | Combine with |\n|---|---|---|\n| 3D objects \u002F scenes from math | [ray-marching](techniques\u002Fray-marching.md) + [sdf-3d](techniques\u002Fsdf-3d.md) | lighting-model, shadow-techniques |\n| Complex 3D shapes (booleans, blends) | [csg-boolean-operations](techniques\u002Fcsg-boolean-operations.md) | sdf-3d, ray-marching |\n| Infinite repeating patterns in 3D | [domain-repetition](techniques\u002Fdomain-repetition.md) | sdf-3d, ray-marching |\n| Organic \u002F warped shapes | [domain-warping](techniques\u002Fdomain-warping.md) | procedural-noise |\n| Fluid \u002F smoke \u002F ink effects | [fluid-simulation](techniques\u002Ffluid-simulation.md) | multipass-buffer |\n| Particle effects (fire, sparks, snow) | [particle-system](techniques\u002Fparticle-system.md) | procedural-noise, color-palette |\n| Physically-based simulations | [simulation-physics](techniques\u002Fsimulation-physics.md) | multipass-buffer |\n| Game of Life \u002F reaction-diffusion | [cellular-automata](techniques\u002Fcellular-automata.md) | multipass-buffer, color-palette |\n| Ocean \u002F water surface | [water-ocean](techniques\u002Fwater-ocean.md) | atmospheric-scattering, lighting-model |\n| Terrain \u002F landscape | [terrain-rendering](techniques\u002Fterrain-rendering.md) | atmospheric-scattering, procedural-noise |\n| Clouds \u002F fog \u002F volumetric fire | [volumetric-rendering](techniques\u002Fvolumetric-rendering.md) | procedural-noise, atmospheric-scattering |\n| Sky \u002F sunset \u002F atmosphere | [atmospheric-scattering](techniques\u002Fatmospheric-scattering.md) | volumetric-rendering |\n| Realistic lighting (PBR, Phong) | [lighting-model](techniques\u002Flighting-model.md) | shadow-techniques, ambient-occlusion |\n| Shadows (soft \u002F hard) | [shadow-techniques](techniques\u002Fshadow-techniques.md) | lighting-model |\n| Ambient occlusion | [ambient-occlusion](techniques\u002Fambient-occlusion.md) | lighting-model, normal-estimation |\n| Path tracing \u002F global illumination | [path-tracing-gi](techniques\u002Fpath-tracing-gi.md) | analytic-ray-tracing, multipass-buffer |\n| Precise ray-geometry intersections | [analytic-ray-tracing](techniques\u002Fanalytic-ray-tracing.md) | lighting-model |\n| Voxel worlds (Minecraft-style) | [voxel-rendering](techniques\u002Fvoxel-rendering.md) | lighting-model, shadow-techniques |\n| Noise \u002F FBM textures | [procedural-noise](techniques\u002Fprocedural-noise.md) | domain-warping |\n| Tiled 2D patterns | [procedural-2d-pattern](techniques\u002Fprocedural-2d-pattern.md) | polar-uv-manipulation |\n| Voronoi \u002F cell patterns | [voronoi-cellular-noise](techniques\u002Fvoronoi-cellular-noise.md) | color-palette |\n| Fractals (Mandelbrot, Julia, 3D) | [fractal-rendering](techniques\u002Ffractal-rendering.md) | color-palette, polar-uv-manipulation |\n| Color grading \u002F palettes | [color-palette](techniques\u002Fcolor-palette.md) | — |\n| Bloom \u002F tone mapping \u002F glitch | [post-processing](techniques\u002Fpost-processing.md) | multipass-buffer |\n| Multi-pass ping-pong buffers | [multipass-buffer](techniques\u002Fmultipass-buffer.md) | — |\n| Texture \u002F sampling techniques | [texture-sampling](techniques\u002Ftexture-sampling.md) | — |\n| Camera \u002F matrix transforms | [matrix-transform](techniques\u002Fmatrix-transform.md) | — |\n| Surface normals | [normal-estimation](techniques\u002Fnormal-estimation.md) | — |\n| Polar coords \u002F kaleidoscope | [polar-uv-manipulation](techniques\u002Fpolar-uv-manipulation.md) | procedural-2d-pattern |\n| 2D shapes \u002F UI from SDF | [sdf-2d](techniques\u002Fsdf-2d.md) | color-palette |\n| Procedural audio \u002F music | [sound-synthesis](techniques\u002Fsound-synthesis.md) | — |\n| SDF tricks \u002F optimization | [sdf-tricks](techniques\u002Fsdf-tricks.md) | sdf-3d, ray-marching |\n| Anti-aliased rendering | [anti-aliasing](techniques\u002Fanti-aliasing.md) | sdf-2d, post-processing |\n| Depth of field \u002F motion blur \u002F lens effects | [camera-effects](techniques\u002Fcamera-effects.md) | post-processing, multipass-buffer |\n| Advanced texture mapping \u002F no-tile textures | [texture-mapping-advanced](techniques\u002Ftexture-mapping-advanced.md) | terrain-rendering, texture-sampling |\n| WebGL2 shader errors \u002F debugging | [webgl-pitfalls](techniques\u002Fwebgl-pitfalls.md) | — |\n\n## Technique Index\n\n### Geometry & SDF\n- **sdf-2d** — 2D signed distance functions for shapes, UI, anti-aliased rendering\n- **sdf-3d** — 3D signed distance functions for real-time implicit surface modeling\n- **csg-boolean-operations** — Constructive solid geometry: union, subtraction, intersection with smooth blending\n- **domain-repetition** — Infinite space repetition, folding, and limited tiling\n- **domain-warping** — Distort domains with noise for organic, flowing shapes\n- **sdf-tricks** — SDF optimization, bounding volumes, binary search refinement, hollowing, layered edges, debug visualization\n\n### Ray Casting & Lighting\n- **ray-marching** — Sphere tracing with SDF for 3D scene rendering\n- **analytic-ray-tracing** — Closed-form ray-primitive intersections (sphere, plane, box, torus)\n- **path-tracing-gi** — Monte Carlo path tracing for photorealistic global illumination\n- **lighting-model** — Phong, Blinn-Phong, PBR (Cook-Torrance), and toon shading\n- **shadow-techniques** — Hard shadows, soft shadows (penumbra estimation), cascade shadows\n- **ambient-occlusion** — SDF-based AO, screen-space AO approximation\n- **normal-estimation** — Finite-difference normals, tetrahedron technique\n\n### Simulation & Physics\n- **fluid-simulation** — Navier-Stokes fluid solver with advection, diffusion, pressure projection\n- **simulation-physics** — GPU-based physics: springs, cloth, N-body gravity, collision\n- **particle-system** — Stateless and stateful particle systems (fire, rain, sparks, galaxies)\n- **cellular-automata** — Game of Life, reaction-diffusion (Turing patterns), sand simulation\n\n### Natural Phenomena\n- **water-ocean** — Gerstner waves, FFT ocean, caustics, underwater fog\n- **terrain-rendering** — Heightfield ray marching, FBM terrain, erosion\n- **atmospheric-scattering** — Rayleigh\u002FMie scattering, god rays, SSS approximation\n- **volumetric-rendering** — Volume ray marching for clouds, fog, fire, explosions\n\n### Procedural Generation\n- **procedural-noise** — Value noise, Perlin, Simplex, Worley, FBM, ridged noise\n- **procedural-2d-pattern** — Brick, hexagon, truchet, Islamic geometric patterns\n- **voronoi-cellular-noise** — Voronoi diagrams, Worley noise, cracked earth, crystal\n- **fractal-rendering** — Mandelbrot, Julia sets, 3D fractals (Mandelbox, Mandelbulb)\n- **color-palette** — Cosine palettes, HSL\u002FHSV\u002FOklab, dynamic color mapping\n\n### Post-Processing & Infrastructure\n- **post-processing** — Bloom, tone mapping (ACES, Reinhard), vignette, chromatic aberration, glitch\n- **multipass-buffer** — Ping-pong FBO setup, state persistence across frames\n- **texture-sampling** — Bilinear, bicubic, mipmap, procedural texture lookup\n- **matrix-transform** — Camera look-at, projection, rotation, orbit controls\n- **polar-uv-manipulation** — Polar\u002Flog-polar coordinates, kaleidoscope, spiral mapping\n- **anti-aliasing** — SSAA, SDF analytical AA, temporal anti-aliasing (TAA), FXAA post-process\n- **camera-effects** — Depth of field (thin lens), motion blur, lens distortion, film grain, vignette\n- **texture-mapping-advanced** — Biplanar mapping, texture repetition avoidance, ray differential filtering\n\n### Audio\n- **sound-synthesis** — Procedural audio in GLSL: oscillators, envelopes, filters, FM synthesis\n\n### Debugging & Validation\n- **webgl-pitfalls** — Common WebGL2\u002FGLSL errors: `fragCoord`, `main()` wrapper, function order, macro limitations, uniform null\n\n## WebGL2 Adaptation Rules\n\nAll technique files use ShaderToy GLSL style. When generating standalone HTML pages, apply these adaptations:\n\n### Shader Version & Output\n- Use `canvas.getContext(\"webgl2\")`\n- Shader first line: `#version 300 es`, fragment shader adds `precision highp float;`\n- Fragment shader must declare: `out vec4 fragColor;`\n- Vertex shader: `attribute` → `in`, `varying` → `out`\n- Fragment shader: `varying` → `in`, `gl_FragColor` → `fragColor`, `texture2D()` → `texture()`\n\n### Fragment Coordinate\n- **Use `gl_FragCoord.xy`** instead of `fragCoord` (WebGL2 does not have `fragCoord` built-in)\n```glsl\n\u002F\u002F WRONG\nvec2 uv = (2.0 * fragCoord - iResolution.xy) \u002F iResolution.y;\n\u002F\u002F CORRECT\nvec2 uv = (2.0 * gl_FragCoord.xy - iResolution.xy) \u002F iResolution.y;\n```\n\n### main() Wrapper for ShaderToy Templates\n- ShaderToy uses `void mainImage(out vec4 fragColor, in vec2 fragCoord)`\n- WebGL2 requires standard `void main()` entry point — always wrap mainImage:\n```glsl\nvoid mainImage(out vec4 fragColor, in vec2 fragCoord) {\n    \u002F\u002F shader code...\n    fragColor = vec4(col, 1.0);\n}\n\nvoid main() {\n    mainImage(fragColor, gl_FragCoord.xy);\n}\n```\n\n### Function Declaration Order\n- GLSL requires functions to be declared before use — either declare before use or reorder:\n```glsl\n\u002F\u002F WRONG — getAtmosphere() calls getSunDirection() before it's defined\nvec3 getAtmosphere(vec3 dir) { return getSunDirection(); } \u002F\u002F Error!\nvec3 getSunDirection() { return normalize(vec3(1.0)); }\n\n\u002F\u002F CORRECT — define callee first\nvec3 getSunDirection() { return normalize(vec3(1.0)); }\nvec3 getAtmosphere(vec3 dir) { return getSunDirection(); } \u002F\u002F Works\n```\n\n### Macro Limitations\n- `#define` cannot use function calls — use `const` instead:\n```glsl\n\u002F\u002F WRONG\n#define SUN_DIR normalize(vec3(0.8, 0.4, -0.6))\n\n\u002F\u002F CORRECT\nconst vec3 SUN_DIR = vec3(0.756, 0.378, -0.567); \u002F\u002F Pre-computed normalized value\n```\n\n### Script Tag Extraction\n- When extracting shader source from `\u003Cscript>` tags, ensure `#version` is the **first character** — use `.trim()`:\n```javascript\nconst fs = document.getElementById('fs').text.trim();\n```\n\n### Common Pitfalls\n- **Unused uniforms**: Compiler may optimize away unused uniforms, causing `gl.getUniformLocation()` to return `null` — always use uniforms in a way the compiler cannot optimize out\n- **Loop indices**: Use runtime constants in loops, not `#define` macros in some ES versions\n- **Terrain functions**: Functions like `terrainM(vec2)` need XZ components — use `terrainM(pos.xz + offset)` not `terrainM(pos + offset)`\n\n## HTML Page Setup\n\nWhen generating a standalone HTML page:\n\n- Canvas fills the entire viewport, auto-resizes on window resize\n- Page background black, no scrollbars: `body { margin: 0; overflow: hidden; background: #000; }`\n- Implement ShaderToy-compatible uniforms: `iTime`, `iResolution`, `iMouse`, `iFrame`\n- For multi-pass effects (Buffer A\u002FB), use WebGL2 framebuffer + ping-pong (see multipass-buffer technique)\n\n## Common Pitfalls\n\n### JS Variable Declaration Order (TDZ — causes white screen crash)\n\n`let`\u002F`const` variables must be declared at the **top** of the `\u003Cscript>` block, before any function that references them:\n\n```javascript\n\u002F\u002F 1. State variables FIRST\nlet frameCount = 0;\nlet startTime = Date.now();\n\n\u002F\u002F 2. Canvas\u002FGL init, shader compile, FBO creation\nconst canvas = document.getElementById('canvas');\nconst gl = canvas.getContext('webgl2');\n\u002F\u002F ...\n\n\u002F\u002F 3. Functions and event bindings LAST\nfunction resize() { \u002F* can now safely reference frameCount *\u002F }\nfunction render() { \u002F* ... *\u002F }\nwindow.addEventListener('resize', resize);\n```\n\nReason: `let`\u002F`const` have a Temporal Dead Zone — referencing them before declaration throws `ReferenceError`, causing a white screen.\n\n### GLSL Compilation Errors (self-check after writing shaders)\n\n- **Function signature mismatch**: Call must exactly match definition in parameter count and types. If defined as `float fbm(vec3 p)`, cannot call `fbm(uv)` with a `vec2`\n- **Reserved words as variable names**: Do not use: `patch`, `cast`, `sample`, `filter`, `input`, `output`, `common`, `partition`, `active`\n- **Strict type matching**: `vec3 x = 1.0` is illegal — use `vec3 x = vec3(1.0)`; cannot use `.z` to access a `vec2`\n- **No ternary on structs**: ESSL does not allow ternary operator on struct types — use `if`\u002F`else` instead\n\n### Performance Budget\n\nDeployment environments may use headless software rendering with limited GPU power. Stay within these limits:\n\n- Ray marching main loop: ≤ 128 steps\n- Volume sampling \u002F lighting inner loops: ≤ 32 steps\n- FBM octaves: ≤ 6 layers\n- Total nested loop iterations per pixel: ≤ 1000 (exceeding this freezes the browser)\n\n## Quick Recipes\n\nCommon effect combinations — complete rendering pipelines assembled from technique modules.\n\n### Photorealistic SDF Scene\n1. **Geometry**: sdf-3d (extended primitives) + csg-boolean-operations (cubic\u002Fquartic smin)\n2. **Rendering**: ray-marching + normal-estimation (tetrahedron method)\n3. **Lighting**: lighting-model (outdoor three-light model) + shadow-techniques (improved soft shadow) + ambient-occlusion\n4. **Atmosphere**: atmospheric-scattering (height-based fog with sun tint)\n5. **Post**: post-processing (ACES tone mapping) + anti-aliasing (2x SSAA) + camera-effects (vignette)\n\n### Organic \u002F Biological Forms\n1. **Geometry**: sdf-3d (extended primitives + deformation operators: twist, bend) + csg-boolean (gradient-aware smin for material blending)\n2. **Detail**: procedural-noise (FBM with derivatives) + domain-warping\n3. **Surface**: lighting-model (subsurface scattering approximation via half-Lambert)\n\n### Procedural Landscape\n1. **Terrain**: terrain-rendering + procedural-noise (erosion FBM with derivatives)\n2. **Texturing**: texture-mapping-advanced (biplanar mapping + no-tile)\n3. **Sky**: atmospheric-scattering (Rayleigh\u002FMie + height fog)\n4. **Water**: water-ocean (Gerstner waves) + lighting-model (Fresnel reflections)\n\n### Stylized 2D Art\n1. **Shapes**: sdf-2d (extended library) + sdf-tricks (layered edges, hollowing)\n2. **Color**: color-palette (cosine palettes) + polar-uv-manipulation (kaleidoscope)\n3. **Polish**: anti-aliasing (SDF analytical AA) + post-processing (bloom, chromatic aberration)\n\n## Shader Debugging Techniques\n\nVisual debugging methods — temporarily replace your output to diagnose issues.\n\n| What to check | Code | What to look for |\n|---|---|---|\n| Surface normals | `col = nor * 0.5 + 0.5;` | Smooth gradients = correct normals; banding = epsilon too large |\n| Ray march step count | `col = vec3(float(steps) \u002F float(MAX_STEPS));` | Red hotspots = performance bottleneck; uniform = wasted iterations |\n| Depth \u002F distance | `col = vec3(t \u002F MAX_DIST);` | Verify correct hit distances |\n| UV coordinates | `col = vec3(uv, 0.0);` | Check coordinate mapping |\n| SDF distance field | `col = (d > 0.0 ? vec3(0.9,0.6,0.3) : vec3(0.4,0.7,0.85)) * (0.8 + 0.2*cos(150.0*d));` | Visualize SDF bands and zero-crossing |\n| Checker pattern (UV) | `col = vec3(mod(floor(uv.x*10.)+floor(uv.y*10.), 2.0));` | Verify UV distortion, seams |\n| Lighting only | `col = vec3(shadow);` or `col = vec3(ao);` | Isolate shadow\u002FAO contributions |\n| Material ID | `col = palette(matId \u002F maxMatId);` | Verify material assignment |\n",{"name":5,"license":15,"metadata":24,"description":7,"description_en":27,"description_zh":28},{"version":25,"category":26},"1.0","graphics","GLSL shader techniques for stunning visual effects","GLSL Shader 视觉效果开发","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill shader-dev",{"tool":44,"command":45},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill shader-dev",{"tool":47,"command":48},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill shader-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002FSKILL.md",true,[52,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206,210,214,218,222,226,230,234,238,242,246,250,254,258,262,266,270,274,278,282,286,290,294,298,302,306,310,314,318,322,326,330,334,338,342,346],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"reference\u002Fambient-occlusion.md","REFERENCE","参考文档",14798,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fambient-occlusion.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"reference\u002Fanalytic-ray-tracing.md",24674,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fanalytic-ray-tracing.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"reference\u002Fanti-aliasing.md",3003,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fanti-aliasing.md",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"reference\u002Fatmospheric-scattering.md",28185,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fatmospheric-scattering.md",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"reference\u002Fcamera-effects.md",3080,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fcamera-effects.md",{"path":75,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":76,"sourceHtmlUrl":77},"reference\u002Fcellular-automata.md",27330,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fcellular-automata.md",{"path":79,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":80,"sourceHtmlUrl":81},"reference\u002Fcolor-palette.md",20345,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fcolor-palette.md",{"path":83,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":84,"sourceHtmlUrl":85},"reference\u002Fcsg-boolean-operations.md",17952,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fcsg-boolean-operations.md",{"path":87,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":88,"sourceHtmlUrl":89},"reference\u002Fdomain-repetition.md",18161,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fdomain-repetition.md",{"path":91,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":92,"sourceHtmlUrl":93},"reference\u002Fdomain-warping.md",17008,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fdomain-warping.md",{"path":95,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":96,"sourceHtmlUrl":97},"reference\u002Ffluid-simulation.md",18991,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Ffluid-simulation.md",{"path":99,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":100,"sourceHtmlUrl":101},"reference\u002Ffractal-rendering.md",18587,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Ffractal-rendering.md",{"path":103,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":104,"sourceHtmlUrl":105},"reference\u002Flighting-model.md",30132,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Flighting-model.md",{"path":107,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":108,"sourceHtmlUrl":109},"reference\u002Fmatrix-transform.md",18933,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fmatrix-transform.md",{"path":111,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":112,"sourceHtmlUrl":113},"reference\u002Fmultipass-buffer.md",25441,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fmultipass-buffer.md",{"path":115,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":116,"sourceHtmlUrl":117},"reference\u002Fnormal-estimation.md",17568,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fnormal-estimation.md",{"path":119,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":120,"sourceHtmlUrl":121},"reference\u002Fparticle-system.md",28932,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fparticle-system.md",{"path":123,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":124,"sourceHtmlUrl":125},"reference\u002Fpath-tracing-gi.md",28193,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fpath-tracing-gi.md",{"path":127,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":128,"sourceHtmlUrl":129},"reference\u002Fpolar-uv-manipulation.md",23190,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fpolar-uv-manipulation.md",{"path":131,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":132,"sourceHtmlUrl":133},"reference\u002Fpost-processing.md",24425,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fpost-processing.md",{"path":135,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":136,"sourceHtmlUrl":137},"reference\u002Fprocedural-2d-pattern.md",16688,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fprocedural-2d-pattern.md",{"path":139,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":140,"sourceHtmlUrl":141},"reference\u002Fprocedural-noise.md",22226,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fprocedural-noise.md",{"path":143,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":144,"sourceHtmlUrl":145},"reference\u002Fray-marching.md",15840,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fray-marching.md",{"path":147,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":148,"sourceHtmlUrl":149},"reference\u002Fsdf-2d.md",28189,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fsdf-2d.md",{"path":151,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":152,"sourceHtmlUrl":153},"reference\u002Fsdf-3d.md",27475,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fsdf-3d.md",{"path":155,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":156,"sourceHtmlUrl":157},"reference\u002Fsdf-tricks.md",2685,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fsdf-tricks.md",{"path":159,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":160,"sourceHtmlUrl":161},"reference\u002Fshadow-techniques.md",21527,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fshadow-techniques.md",{"path":163,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":164,"sourceHtmlUrl":165},"reference\u002Fsimulation-physics.md",28223,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fsimulation-physics.md",{"path":167,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":168,"sourceHtmlUrl":169},"reference\u002Fsound-synthesis.md",24185,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fsound-synthesis.md",{"path":171,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":172,"sourceHtmlUrl":173},"reference\u002Fterrain-rendering.md",32978,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fterrain-rendering.md",{"path":175,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":176,"sourceHtmlUrl":177},"reference\u002Ftexture-mapping-advanced.md",3409,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Ftexture-mapping-advanced.md",{"path":179,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":180,"sourceHtmlUrl":181},"reference\u002Ftexture-sampling.md",26244,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Ftexture-sampling.md",{"path":183,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":184,"sourceHtmlUrl":185},"reference\u002Fvolumetric-rendering.md",28747,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fvolumetric-rendering.md",{"path":187,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":188,"sourceHtmlUrl":189},"reference\u002Fvoronoi-cellular-noise.md",17974,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fvoronoi-cellular-noise.md",{"path":191,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":192,"sourceHtmlUrl":193},"reference\u002Fvoxel-rendering.md",29912,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fvoxel-rendering.md",{"path":195,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":196,"sourceHtmlUrl":197},"reference\u002Fwater-ocean.md",20634,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fwater-ocean.md",{"path":199,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":200,"sourceHtmlUrl":201},"reference\u002Fwebgl-pitfalls.md",1974,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Freference\u002Fwebgl-pitfalls.md",{"path":203,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":204,"sourceHtmlUrl":205},"techniques\u002Fambient-occlusion.md",11378,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fambient-occlusion.md",{"path":207,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":208,"sourceHtmlUrl":209},"techniques\u002Fanalytic-ray-tracing.md",19243,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fanalytic-ray-tracing.md",{"path":211,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":212,"sourceHtmlUrl":213},"techniques\u002Fanti-aliasing.md",4605,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fanti-aliasing.md",{"path":215,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":216,"sourceHtmlUrl":217},"techniques\u002Fatmospheric-scattering.md",18590,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fatmospheric-scattering.md",{"path":219,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":220,"sourceHtmlUrl":221},"techniques\u002Fcamera-effects.md",3493,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fcamera-effects.md",{"path":223,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":224,"sourceHtmlUrl":225},"techniques\u002Fcellular-automata.md",19481,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fcellular-automata.md",{"path":227,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":228,"sourceHtmlUrl":229},"techniques\u002Fcolor-palette.md",13144,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fcolor-palette.md",{"path":231,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":232,"sourceHtmlUrl":233},"techniques\u002Fcsg-boolean-operations.md",15310,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fcsg-boolean-operations.md",{"path":235,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":236,"sourceHtmlUrl":237},"techniques\u002Fdomain-repetition.md",9958,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fdomain-repetition.md",{"path":239,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":240,"sourceHtmlUrl":241},"techniques\u002Fdomain-warping.md",12817,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fdomain-warping.md",{"path":243,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":244,"sourceHtmlUrl":245},"techniques\u002Ffluid-simulation.md",47610,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Ffluid-simulation.md",{"path":247,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":248,"sourceHtmlUrl":249},"techniques\u002Ffractal-rendering.md",13269,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Ffractal-rendering.md",{"path":251,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":252,"sourceHtmlUrl":253},"techniques\u002Flighting-model.md",17481,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Flighting-model.md",{"path":255,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":256,"sourceHtmlUrl":257},"techniques\u002Fmatrix-transform.md",12711,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fmatrix-transform.md",{"path":259,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":260,"sourceHtmlUrl":261},"techniques\u002Fmultipass-buffer.md",34333,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fmultipass-buffer.md",{"path":263,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":264,"sourceHtmlUrl":265},"techniques\u002Fnormal-estimation.md",9322,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fnormal-estimation.md",{"path":267,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":268,"sourceHtmlUrl":269},"techniques\u002Fparticle-system.md",45637,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fparticle-system.md",{"path":271,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":272,"sourceHtmlUrl":273},"techniques\u002Fpath-tracing-gi.md",22057,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fpath-tracing-gi.md",{"path":275,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":276,"sourceHtmlUrl":277},"techniques\u002Fpolar-uv-manipulation.md",13565,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fpolar-uv-manipulation.md",{"path":279,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":280,"sourceHtmlUrl":281},"techniques\u002Fpost-processing.md",30997,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fpost-processing.md",{"path":283,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":284,"sourceHtmlUrl":285},"techniques\u002Fprocedural-2d-pattern.md",10932,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fprocedural-2d-pattern.md",{"path":287,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":288,"sourceHtmlUrl":289},"techniques\u002Fprocedural-noise.md",17310,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fprocedural-noise.md",{"path":291,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":292,"sourceHtmlUrl":293},"techniques\u002Fray-marching.md",13988,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fray-marching.md",{"path":295,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":296,"sourceHtmlUrl":297},"techniques\u002Fsdf-2d.md",21719,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fsdf-2d.md",{"path":299,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":300,"sourceHtmlUrl":301},"techniques\u002Fsdf-3d.md",22163,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fsdf-3d.md",{"path":303,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":304,"sourceHtmlUrl":305},"techniques\u002Fsdf-tricks.md",3520,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fsdf-tricks.md",{"path":307,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":308,"sourceHtmlUrl":309},"techniques\u002Fshadow-techniques.md",25360,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fshadow-techniques.md",{"path":311,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":312,"sourceHtmlUrl":313},"techniques\u002Fsimulation-physics.md",57526,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fsimulation-physics.md",{"path":315,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":316,"sourceHtmlUrl":317},"techniques\u002Fsound-synthesis.md",17587,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fsound-synthesis.md",{"path":319,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":320,"sourceHtmlUrl":321},"techniques\u002Fterrain-rendering.md",14650,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fterrain-rendering.md",{"path":323,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":324,"sourceHtmlUrl":325},"techniques\u002Ftexture-mapping-advanced.md",4378,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Ftexture-mapping-advanced.md",{"path":327,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":328,"sourceHtmlUrl":329},"techniques\u002Ftexture-sampling.md",13299,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Ftexture-sampling.md",{"path":331,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":332,"sourceHtmlUrl":333},"techniques\u002Fvolumetric-rendering.md",12634,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fvolumetric-rendering.md",{"path":335,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":336,"sourceHtmlUrl":337},"techniques\u002Fvoronoi-cellular-noise.md",13277,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fvoronoi-cellular-noise.md",{"path":339,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":340,"sourceHtmlUrl":341},"techniques\u002Fvoxel-rendering.md",46256,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fvoxel-rendering.md",{"path":343,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":344,"sourceHtmlUrl":345},"techniques\u002Fwater-ocean.md",18197,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fwater-ocean.md",{"path":347,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":348,"sourceHtmlUrl":349},"techniques\u002Fwebgl-pitfalls.md",5518,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-code-skills\u002Fskills\u002Fshader-dev\u002Ftechniques\u002Fwebgl-pitfalls.md",[351,358,365,372,379,386],{"skillNo":352,"name":353,"nameZh":6,"description":354,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":355,"categories":356,"keywords":357,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":359,"name":360,"nameZh":6,"description":361,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":362,"categories":363,"keywords":364,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":366,"name":367,"nameZh":6,"description":368,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":369,"categories":370,"keywords":371,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":373,"name":374,"nameZh":6,"description":375,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":376,"categories":377,"keywords":378,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":380,"name":381,"nameZh":6,"description":382,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":383,"categories":384,"keywords":385,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":387,"name":388,"nameZh":6,"description":389,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":390,"categories":391,"keywords":392,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]