threejs-procedural-materials
Skill by scottstts
Guides authoring of procedural PBR materials in Three.js, covering effects such as burning paper, jellyfish, soap bubbles, gems, sand, cloth and fur. Built for developers who need production real-time surfaces.
Install threejs-procedural-materials
Built from the published package, never by AI.
git clone --depth 1 https://github.com/scottstts/Threejs-Awesome-Graphics-Agent-Skills /tmp/Threejs-Awesome-Graphics-Agent-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Threejs-Awesome-Graphics-Agent-Skills/skills/threejs-procedural-materials ~/.claude/skills/threejs-procedural-materialsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install threejs-procedural-materials in Claude Code
git clone --depth 1 https://github.com/scottstts/Threejs-Awesome-Graphics-Agent-Skills /tmp/Threejs-Awesome-Graphics-Agent-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Threejs-Awesome-Graphics-Agent-Skills/skills/threejs-procedural-materials ~/.gemini/antigravity-cli/skills/threejs-procedural-materialsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install threejs-procedural-materials in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
threejs-procedural-materials is an agent skill that guides an assistant to author procedural materials in Three.js. It asks that color, roughness, metalness, normal, transmission and emission all describe one surface. Materials are built in stages, from stable coordinates and structural fields through material identity weights, causal modifiers and filtered microstructure to PBR channels. It covers subjects such as burning paper, luminescent jellyfish and butterflies, soil and moss, soap bubbles, diamond and glass, sand, cloth, denim and fur.
The skill points to reference documents and example implementations for each material. These include a GPU XPBD cloth solver, a tearable denim simulation, a softbody jelly and a physical diffraction grating. It lists required controls such as texture scale, roughness range, specular antialiasing and debug modes, along with failure conditions to avoid. It is aimed at developers building production real-time materials in Three.js who want physically grounded surfaces rather than unrelated noise textures.
Written from the project's SKILL.md and checked against it.
What it can do
- Material graphBuilds materials in stages from coordinates and structural fields through to PBR channels.
- Paper burningSimulates sheet combustion, char fracture, and volumetric flame and smoke.
- Luminescent jellyfishModels bell anatomy, swimming, Verlet appendages and bioluminescent tissue.
- Softbody jellyDeforms a transmissive body with XPBD mechanics and refractive caustics.
- Soap bubblesUses air-film-air Airy interference to shade thin-film soap bubbles.
- Diamond and glassCovers raytraced gem refraction and image-space glass with spectral dispersion.
- Sand and soilSimulates deformable granular sand and texture-backed soil and moss.
- Cloth, denim and furCovers XPBD woven cloth, tearable denim with frayed fibres, and groomable fur.
- Diffraction gratingsDerives diffraction colour from wavelength using a physical grating model.
- Lava and emissive surfacesCouples lava rock identity, emission, glow and embers to one cause stack.
What you need
- Three.js
Try asking
- Write a procedural soap bubble material in Three.js using air-film-air interference.
- Build a tearable denim material with wear-driven yarn failure in Three.js.
- Create a textured soil and moss surface with procedural displacement in Three.js.
Good to know
- The image-space glass path cannot see surfaces outside the camera frame.
- The hybrid soil and moss surface is texture-backed, not fully procedurally synthesized.
- Transmissive paths are chosen by geometry, so a closed gem and an open sheet need different ones.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/threejs-procedural-materials/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to threejs-procedural-materials
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
threejs-procedural-materials: common questions
What kinds of materials does it cover?
It covers paper burning, luminescent jellyfish and butterflies, soil and moss, soap bubbles, gems, glass, sand, cloth, denim, fur, lava and diffraction gratings.
Does it include example code?
It links to example implementations such as a softbody jelly, simulated cloth and a raytraced diamond, and says they can be studied or copied.
How does it choose between glass paths?
A closed faceted gem takes the BVH path, while a scanned, assembled, open-sheet or multi-shell body takes the image-space path.
How do I install threejs-procedural-materials?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is threejs-procedural-materials free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is threejs-procedural-materials safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to threejs-procedural-materials?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
