Design
Build procedural Three.js spell VFX with rigged casters
A rigged Three.js caster pipeline and procedural spell library built from custom meshes and GLSL shaders, with 5-beat timing, unique silhouettes per spell, selective HDR bloom, and draw-call checks. Based on a post by Vexo.
Checked automatically · v1.0.0 · Dec 2
What your AI will deliver
- Vfx/scene-audit.md recording baseline idle draw calls, viewport targets, and desktop/mobile VFX budgets
- Vfx/spell-roster.csv assigning every spell a unique 3D topology family, 3-value palette, cast socket, and 5-beat millisecond schedule including a 50 to 110 ms pre-impact hold
- Vfx/caster-manifest.json mapping caster and enemy GLB files, Mixamo animation clips, bone socket paths, and reactive rim/wind hooks
- Src/vfx/ shared pipeline with 4 startup-baked procedural textures, HalfFloatType selective bloom, isolated opaque DepthTexture pre-pass, pooled VFX lights, and dormant-fast-path optical post pass
How it runs
In your AI, with your accounts. It starts by researching your business. How kits work ›
- 1. Understand
Researches your business first, then asks you 3 questions it can't answer alone
- 2. Choose
Nothing to choose: the kit follows one path
- 3. Build
6 steps, risky ones ask you first
- 4. Deliver
5 checks before delivery
Tools it uses
You pay each tool directly, not CloneKit. Your AI checks which ones you already have.
- Three.jsFree
- Tripo 3DOptionalFree tier available; paid credits for API or high-volume 3D generation. Or use Customuse, Blender
- CustomuseOptionalFree tier available; paid plans for higher export limits. Or use Tripo 3D, Blender
- Adobe MixamoOptionalFree with an Adobe account. Or use Blender
- BlenderOptionalFree
- PlaywrightOptionalFree
Details
What the creator's process is built on. Your AI loads them during the run.
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- Source
- A Three.js web project (or permission to scaffold a local Vite + Three.js arena harness)
- Spell list and art direction palette (or use the starter roster of distinct silhouettes such as black hole, fire wall, chain cage, ice spikes, and giant hands)
- Optional Tripo API key or account, Customuse account, and Mixamo account for hero models and animations (free Blender or proxy-rig fallback included)
- Node.js with Playwright installed (or headed Chromium DevTools fallback) for motion and draw-call verification
Reference files your AI can read during and after the work.
- Procedural Three.js Spell VFX ChecksCHECKS.md
- Tool Notes, Verified Parameters, and FallbacksNOTES.md
- OutputsREADME.md
- Procedural Three.js Spell VFX RulesRULES.md
- Template: Caster and Enemy Manifest (Step 2)templates/caster-manifest.md
- Template: Spell Inventory Ledger (Step 4)templates/spell-inventory.md
- Template: Scene Audit and Spell Roster (Step 1)templates/spell-roster.md
- Template: Verification Report and Run Log (Steps 5 and 6)templates/verification-report.md
- Never commit TRIPO_API_KEY or other provider credentials into source files or browser-side bundles; keep API calls in local tooling only.
- Never allow depth-sampling VFX meshes to remain visible during the opaque DepthTexture pre-pass, which triggers WebGL feedback loops.
- Never ship unguarded pow(x, frac) or normalize(vec3(0.0)) in HalfFloatType HDR shaders, and never leave Math.random() inside spell trajectories.
- Type
- Delivery
- License
- Own use
- Uses
- 0
- Runs completed
- 0