threejs-atmosphere-aer…
Implement physically motivated sky and aerial-perspective systems in Three.js. Use for planetary atmospheres, ground-to-space…
Implement stable, scalable directional-shadow systems for Three.js. Use for large procedural worlds, city scenes, terrain, moving cameras, WebGPU/TSL shadow nodes, cascades, cached clipmaps, texel stabilization, update budgets, and targeted invalidation.
Claude Code
$ npx -y skills add scottstts/threejs-awesome-graphics-agent-skills --skill threejs-shadow-systems --agent claude-code
Codex
$ npx skills add scottstts/threejs-awesome-graphics-agent-skills --skill threejs-shadow-systems -a codex -y
Cursor
$ npx skills add scottstts/threejs-awesome-graphics-agent-skills --skill threejs-shadow-systems -a cursor -y
Gemini CLI
$ npx skills add scottstts/threejs-awesome-graphics-agent-skills --skill threejs-shadow-systems -a gemini-cli -y
GitHub Copilot
$ npx skills add scottstts/threejs-awesome-graphics-agent-skills --skill threejs-shadow-systems -a github-copilot -y
OpenCode
$ npx skills add scottstts/threejs-awesome-graphics-agent-skills --skill threejs-shadow-systems -a opencode -y
Windsurf
$ npx skills add scottstts/threejs-awesome-graphics-agent-skills --skill threejs-shadow-systems -a windsurf -y
name: threejs-shadow-systems description: Implement stable, scalable directional-shadow systems for Three.js. Use for large procedural worlds, city scenes, terrain, moving cameras, WebGPU/TSL shadow nodes, cascades, cached clipmaps, texel stabilization, update budgets, and targeted invalidation.
Use a single shadow map only when its receiver region is genuinely bounded. For large moving views, make shadow coverage an explicit spatial hierarchy.
1. Define concentric light-space square levels. 2. Snap each level center to its own texel grid. 3. Cross-fade adjacent levels in shader space. 4. Refresh near levels continuously. 5. Cache coarse levels and update them under a frame budget. 6. Invalidate intersecting levels when important casters or streamed terrain change. 7. Scale normal bias by world-space texel width.
Read [references/cached-clipmap-shadows.md](references/cached-clipmap-shadows.md) before implementing a large-world directional light.
Read the [cached shadow clipmaps](../threejs-procedural-architecture/examples/procedural-financial-tower/shadow-clipmaps.js) for three light-space square levels, per-level texel snapping, containment cross-fades, cached coarse updates, scaled bias, and unshadowed outside weight.
Use this skill for light-space directional shadow maps. Use `$threejs-screen-space-ambient-occlusion` for view-dependent ambient visibility; AO is not a replacement for cast shadows.
Example gallery to visually inspect included examples This is a Three.js agent skills pack for producing awesome graphics.
Implement physically motivated sky and aerial-perspective systems in Three.js. Use for planetary atmospheres, ground-to-space…
Implement production bloom in advanced Three.js scenes. Use for HDR signal ordering, bloom-node controls, dual selective bloom…
Direct advanced Three.js camera systems. Use for scale-aware chase rigs, thrust lag, side/orbit cameras, body-relative up…
Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted…
Build a deliberate final-image pipeline for advanced Three.js scenes. Use for depth, normal, albedo, and history ownership; GTAO…
Build silhouette-aware parallax occlusion mapping in Three.js WebGPU and TSL. Use for height-field ray marching, relief UVs,…
Choose GPT-Image2 / gpt-image-2 visual styles and industrial prompt templates from the awesome-gpt-image-2 style library. Use…
Remove visible Gemini image watermarks from local image files by calling the project's CLI. Use when the user wants an agent to…
Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures,…
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference…