threejs-shaders · calesthio — Claude Code skill: what it does, how to install
This skill helps write Three.js shaders, change vertices, and build custom fragment effects. Use it when built-in materials are not enough.
npx skills add calesthio/OpenMontage --skill threejs-shaders -a claude-codeWhat threejs-shaders does
The skill guides Three.js shader work with GLSL and ShaderMaterial. It covers uniforms, varyings, and passing data between vertex and fragment shaders. You can use it to displace vertices, sample textures, and build gradient, noise-based, or Fresnel effects.
It includes examples for ShaderMaterial and RawShaderMaterial, along with updates for uniform values, textures, and matrices. ShaderMaterial provides Three.js built-in uniforms and attributes. With RawShaderMaterial, you must define the required parameters and attributes yourself.
The skill targets projects that use the three library. The source ends during the gradient section, so this description covers the techniques shown before that point.
What it helps with
- create a custom material for Three.js
- change vertex positions with GLSL
- pass values from JavaScript into a shader
- build an effect from a texture or noise
- send normals and coordinates between shaders
Example prompts for the agent
- Create a Three.js `ShaderMaterial` with an animated `time` uniform and vertex displacement.
- Write vertex and fragment shaders for a Fresnel effect using camera data and normals.
- Add texture sampling and a gradient based on `vUv` to a Three.js material.
How to install threejs-shaders
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill threejs-shaders -a claude-code2Manually: put the files in place
~/.claude/skills/threejs-shaders/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/threejs-shaders/
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill threejs-shaders -a codex2Manually: put the files in place
.agents/skills/threejs-shaders/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill threejs-shaders -a cursor2Manually: put the files in place
.cursor/skills/threejs-shaders/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install calesthio/OpenMontage threejs-shaders2Manually: put the files in place
.github/skills/threejs-shaders/SKILL.md1Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill threejs-shaders -a gemini-cli2Platform CLI
gemini skills install https://github.com/calesthio/OpenMontage --path .claude/skills/threejs-shadersManually: put the files in place
.devin/skills/threejs-shaders/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add calesthio/OpenMontage --skill threejs-shaders -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set28
The whole set →Other versions of threejs-shaders
Similar
Questions about threejs-shaders
How do I install `threejs-shaders` in Claude Code?
Run npx skills add calesthio/OpenMontage --skill threejs-shaders -a claude-code, then run npx skills add calesthio/OpenMontage --skill threejs-shaders -a claude-code again. The skill file is at ~/.claude/skills/threejs-shaders/SKILL.md.
What does `threejs-shaders` do?
It guides GLSL shader work in Three.js, including ShaderMaterial, uniforms, and varyings. The examples cover vertex displacement, texture sampling, gradients, noise, and Fresnel effects.
What is the difference between `ShaderMaterial` and `RawShaderMaterial`?
ShaderMaterial provides built-in Three.js uniforms and attributes. With RawShaderMaterial, you define everything the shader needs yourself.