/threejs-skills:threejs-renderersfrom threejs-skills
Configures three.js rendering pipelines — WebGLRenderer and WebGPURenderer, canvas sizing, DPR, color spaces, tone mapping, render targets, and overlay renderers (CSS2D/CSS3D/SVG). Activates when tuning draw loops, performance, or switching renderers.
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:
WebGLRenderer or WebGPURenderer creation, setSize, setPixelRatio, setAnimationLoopoutputColorSpace, toneMapping, exposure-like behavior via renderer propertiesWebGLRenderTarget, WebGLCubeRenderTarget, MRT, readback, or render-to-texture setup at renderer levelInfo (render, triangles, calls) for profiling; CanvasTarget / storage textures when working from docs indexIMPORTANT: this skill vs neighbors
| Topic | Use skill |
|---|---|
| Fullscreen passes, bloom, SSAO, composer chain | threejs-postprocessing |
VR/AR session, XRButton, hand models | threejs-webxr |
| Node-based frame graph / TSL post stack | threejs-node-tsl + renderer enablement |
| Loading assets | threejs-loaders |
Trigger phrases include:
WebGLRenderer for widest compatibility; WebGPURenderer when targeting WebGPU and node/TSL stack per project rules.devicePixelRatio with a sane cap (performance).outputColorSpace / toneMapping consistently with textures and materials (cross-link threejs-textures, threejs-materials).setAnimationLoop for WebXR-friendly loops; otherwise requestAnimationFrame.WebGLRenderTarget vs cube/3D/array variants per environment/reflection needs; document dispose when recreating.CSS2DRenderer / CSS3DRenderer from addons; sync size with main renderer.renderer.info in dev builds only; explain cost of high pixel ratio and overdraw.See examples/workflow-renderer-resize.md.
| Docs section | Representative links |
|---|---|
| Core Renderers | https://threejs.org/docs/WebGLRenderer.html |
| WebGPU | https://threejs.org/docs/WebGPURenderer.html |
| Render targets | https://threejs.org/docs/WebGLRenderTarget.html |
| Core PostProcessing (class) | https://threejs.org/docs/PostProcessing.html |
| Addons renderers | https://threejs.org/docs/CSS2DRenderer.html |
More class links: references/official-sections.md.
setPixelRatio(Math.min(devicePixelRatio, 2)) on dense scenes.outputColorSpace causes washed or crushed blacks.dispose() on render targets and full-screen quads leaks GPU memory on hot reload.WebGPURenderer feature set moves quickly—always cite current docs version note in answers.WebGLRenderer, WebGPURenderer, and color-management defaults evolve across releases. Use the Renderers section of three.js docs for the user’s three.js line; WebGPU and node stacks may require newer minors—link class pages rather than memorizing constructor defaults.
When answering under this skill, prefer responses that:
WebGLRenderer, WebGLRenderTarget, etc.).outputColorSpace / toneMapping to threejs-textures and threejs-materials when color looks wrong.renderer.xr.enabled is mentioned.dispose() for render targets and render lists on teardown or hot reload.CSS2DRenderer, …) when overlays are in scope.English: webglrenderer, webgpurenderer, rendertarget, pixelratio, tonemapping, outputcolorspace, css2d, css3d, three.js
中文: WebGLRenderer、WebGPU、渲染目标、像素比、色调映射、输出色彩空间、渲染器、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