/threejs-skills:threejs-materialsfrom threejs-skills
Teaches Claude to configure classic three.js materials: MeshStandardMaterial PBR maps, MeshPhysicalMaterial transmission, ShaderMaterial GLSL uniforms, and transparency/depth sorting.
Ships in threejs-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
ALWAYS use this skill when the user mentions:
envMapalphaTest, depthWrite, blending modes, side/double-sided renderingShaderMaterial / RawShaderMaterial uniforms, includes, and compatibility with lights pipelineIMPORTANT: classic materials vs node-tsl
| Need | Skill |
|---|---|
| Standard PBR with maps, physical clearcoat/sheen | threejs-materials |
TSL nodes, NodeMaterial, WebGPU-first shading, compute-style graph | threejs-node-tsl |
| Migrating ShaderMaterial → TSL | threejs-node-tsl (conceptual), keep ShaderMaterial here until cutover |
Trigger phrases include:
MeshBasic (unlit), Lambert/Phong (legacy lit), Standard/Physical (PBR).envMap from cube or equirect; align metalness/roughness; consider MeshPhysicalMaterial for transmission/IOR when needed.alphaTest/depthWrite trade-offs; mention sorting limitations.lights: true flag behavior per version docs.skinning/morphTargets where applicable—mesh side in threejs-objects.See examples/workflow-pbr-transparent.md.
| Docs section | Representative links |
|---|---|
| Materials (core) | https://threejs.org/docs/Material.html |
| PBR | https://threejs.org/docs/MeshStandardMaterial.html |
| Physical | https://threejs.org/docs/MeshPhysicalMaterial.html |
| Custom GLSL | https://threejs.org/docs/ShaderMaterial.html |
*NodeMaterial).normalMapType or tangent space breaks lighting; verify geometry has tangents or use appropriate mode.MeshPhysicalMaterial transmission needs thickness and good env—combine with threejs-textures / PMREM.PBR and ShaderMaterial behavior track the Materials section in three.js docs. Color management and default envMap handling changed in modern releases—always pair material answers with renderer/output settings from threejs-renderers when colors look wrong.
When answering under this skill, prefer responses that:
MeshStandardMaterial, MeshPhysicalMaterial, or ShaderMaterial pages as appropriate.colorSpace expectations with threejs-textures.depthWrite trade-offs for sorted rendering.*NodeMaterial types belong to the node skill, not this one.English: meshstandardmaterial, meshphysicalmaterial, shadermaterial, pbr, transparency, envmap, materials, three.js
中文: 材质、PBR、MeshStandardMaterial、物理材质、透明、环境贴图、ShaderMaterial、three.js
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (full-stack-skills/threejs-skills) — no native marketplace selected
npx claudepluginhub p/full-stack-skills-threejs-skills18 skills in this plugin
/threejs-animationthree.js keyframe animation system: AnimationMixer, AnimationClip, AnimationAction, KeyframeTrack variants, PropertyBinding, PropertyMixer, AnimationObjectGroup, AnimationUtils; mixing and crossfading clips, loop modes, timeScale, weight; addon AnimationClipCreator and CCDIKSolver for procedural rigs. Use when playing glTF clips, blending actions, or authoring procedural tracks; for skin deformation rigging on meshes see threejs-objects; for math interpolants without clips see threejs-math only when not tied to AnimationMixer./threejs-audiothree.js audio spatialization: AudioListener attached to camera rig, Audio and PositionalAudio sources, AudioAnalyser for FFT/time-domain data, and integration with Web Audio API contexts; AudioLoader is referenced from threejs-loaders for file decoding. Use when placing 3D sound, configuring panner parameters, or visualization; not a replacement for full game audio middleware./threejs-camerathree.js cameras: Camera base, PerspectiveCamera, OrthographicCamera, CubeCamera, ArrayCamera, StereoCamera; projection matrices, aspect, FOV, orthographic frustum sizes, near/far planes, and dynamic environment maps with CubeCamera. Use when placing views, rendering reflections, or multi-view splits; for XR projections and eye matrices use threejs-webxr; for post pass camera tricks use threejs-postprocessing alongside threejs-renderers.Other plugins' skills for the same job