/threejs-skills:threejs-texturesfrom threejs-skills
Configures three.js GPU texture objects: Texture, DataTexture, CubeTexture, CompressedTexture, DepthTexture, VideoTexture, CanvasTexture, 3D/array textures, Source; sampling parameters, mipmaps, anisotropy, wrap/mag/min filters; PMREMGenerator for environment map prefiltering.
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:
texture.wrapS / wrapT, minFilter, magFilter, generateMipmaps, anisotropycolorSpace / correct handling of sRGB vs linear data mapsDataTexture, CubeTexture, compressed GPU formats, video/canvas driven texturesPMREMGenerator from environment maps for IBLIMPORTANT: textures vs loaders
| Step | Skill |
|---|---|
| Decode file / HTTP | threejs-loaders |
Configure GPU Texture | threejs-textures |
Trigger phrases include:
colorSpace appropriately; normal/roughness maps are non-color data.PMREMGenerator per docs; assign result to scene/env/intensity paths as required.VideoTexture / CanvasTexture.dispose() textures when replacing to free GPU memory.See examples/workflow-pmrem-env.md.
| Docs section | Representative links |
|---|---|
| Textures | https://threejs.org/docs/Texture.html |
| Cube | https://threejs.org/docs/CubeTexture.html |
| Data | https://threejs.org/docs/DataTexture.html |
| PMREM | https://threejs.org/docs/PMREMGenerator.html |
Texture classes and PMREMGenerator are documented under Textures and PMREMGenerator in three.js docs. Compressed and KTX2 paths often depend on threejs-loaders for transcoder setup before this skill applies.
When answering under this skill, prefer responses that:
Texture, DataTexture, CubeTexture, or PMREMGenerator as appropriate.colorSpace / filtering to threejs-renderers output and threejs-materials maps.dispose() when replacing env maps or large atlases.English: texture, cubemap, pmrem, mipmap, colorspace, compressed texture, data texture, three.js
中文: 纹理、立方体贴图、PMREM、mipmap、色彩空间、压缩纹理、three.js
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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