/ghibli-threejs:threejs-shell-fur-renderingfrom ghibli-threejs
Grows real-time fur on a character in three.js using shell rendering. Draws a single InstancedMesh of shells indexed by gl_InstanceID, pushed along the normal with gravity droop and wind, with distance-based LOD. Use when a creature, plush toy, mascot or animal needs fur, hair, fuzz, moss or grass-like coats in WebGL/R3F.
Ships in ghibli-threejs. 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.
Produces a soft, readable fur coat on a stylised character (a big furry forest creature, a cat, a plush toy) at a cost that scales with distance. The body is one sculpted mesh; the fur is that same geometry drawn N more times as one instanced draw call, each shell a little further out, discarding everything outside a strand.
Stack: three.js WebGLRenderer (WebGL2 for gl_InstanceID), MeshStandardMaterial patched
with onBeforeCompile. Mesh from headless Blender. Vanilla or R3F.
Recraft
{{character}}realistically: one watertight sculpted body mesh with COLOR_0 RGBA (RGB = painted albedo including markings, A = fur length), then grow the fur in three.js with shell rendering.
- Draw the shells as one
InstancedMeshof the body geometry, withgl_InstanceID/shellsas the layer. Push each shell alongobjectNormal × layer × length × color.a, add a little gravity droop and wind, and discard outside jittered 3D cells in rest space (no UV dependence). Strands taper asr = .55(1 − layer), and the colour is darkened deep in the coat (mix(.62, 1.12, layer)).- Choose the shell count by camera distance (24/14/6/3/0) and don't let the shells cast shadows.
- Paint markings as separate shapes with gaps.
- Eyes: a transparent clearcoat physical material, not a transmissive cornea. Verify close-up, at mid distance and far, and parse the GLB to confirm COLOR_0 is VEC4.
export_vertex_color='ACTIVE'. Blender's glTF exporter drops vertex-colour alpha by
default ('MATERIAL' gives VEC3). Parse the GLB JSON and confirm the accessor is VEC4.references/shell-fur.js)InstancedMesh(bodyGeometry, furMaterial, SHELLS) with identity instance matrices, added as a
child of the body mesh; customProgramCacheKey = () => 'shell-fur'.<begin_vertex>): layer = (gl_InstanceID + 1)/shells;
transformed += normalize(objectNormal)·layer·len with len = color.a·0.028 m; droop
y −= layer²·len·0.35; wind xz += layer²·len·.25·uWind·(sin(1.7t + 9y), cos(1.3t + 7x)).<alphatest_fragment>): discard if color.a < .02 or layer > a·1.15 + .05
(short fur stops at fewer shells); cell grid in rest space q = position·420, nearest of the
2×2×2 neighbouring jittered cell centres (hash3·.8); keep if d < .55·(1 − layer) — strands
taper to a point.<color_fragment>): rgb *= mix(.62, 1.12, layer) — deep in the coat is
shadowed, tips catch the light.DoubleSide, roughness .95, metalness 0.< 3 m: 24, < 7 m: 14, < 16 m: 6, < 40 m: 3,
beyond: 0 — by setting instancedMesh.count each frame.castShadow = false, receiveShadow = true; the body casts.If the character deforms in the vertex shader (head turn, blink, breathing), the fur material must
run the same pose function before the shell push, and so must the body's depth material —
otherwise the coat stays behind when the head turns. Skinned meshes can't be instanced this way,
which is one reason to deform without a skeleton (threejs-skeletonless-character-animation).
Swap a transmissive cornea for a transparent clearcoat MeshPhysicalMaterial. Transmission adds a
whole extra render pass.
'ACTIVE' and verify the accessor type.instancedMesh.count drops with distance.threejs-skeletonless-character-animation · threejs-blender-glb-pipeline ·
threejs-webgl-performance-profiling · threejs-ghibli-toon-shading
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub nicksonthc/ghibli-threejs --plugin ghibli-threejs31 skills in this plugin
/threejs-blender-glb-pipelineBuilds a reference-image-driven asset pipeline from headless Blender to GLB for a three.js scene — an asset contract (units, axes, grounding, required mesh/material names, budgets, attachment numbers), one parallel subagent per asset group writing craft_<slug>.py generators, preview renders compared against the reference, measured-bounding-box placement in the web scene, Draco compression, and a scored asset quality pass. Use when the user has a reference picture and wants a 3D scene from it, asks to model props/trees/characters in Blender for three.js, export GLBs, fix glTF export issues (vertex-colour alpha, UV flip, axes, custom normals), compress models, or rate and improve every asset in a scene./threejs-boat-buoyancy-steeringFloats a boat (or any buoyant prop) on three.js water with Gerstner waves generated from one JS table that feeds both the GLSL vertex shader and a CPU waveHeight(), four-probe heave/pitch/roll damped springs, an arc-length drift lane that bends round rocks, click-to-steer W/A/S/D rowing with momentum and drag, an autopilot that pursues the lane back, and a chase camera that keeps the orbit. Use when the user wants a drifting or steerable boat, buoyancy, objects bobbing on waves, Gerstner waves on a river/lake, a boat autopilot, or a follow/chase camera behind a vehicle on water./threejs-camera-guided-tourBuilds a hands-free guided camera tour for a three.js scene — keyframes as data, a time-parametrised Catmull-Rom (Hermite) path with continuous velocity, one camera-owner flag, the tour driving time of day and a day→night blend, staged creatures crossing the frame, handwritten captions, portrait-phone lens widening, instant hand-back on drag/scroll/tap/Esc, and a seek() hook for screenshots and video capture. Use when adding a tour mode, cinematic flythrough, attract mode, camera path animation, keyframed camera, spline camera or showcase video capture to a WebGL scene./threejs-cinematic-loading-screenBuilds a cinematic loading gate for a three.js scene — a painted CSS dawn (layered gradients, drifting blurred mist bands, optional conic god rays, SVG feTurbulence grain, vignette), a 2D-canvas layer of falling petals and glowing motes, a handwritten title that animates in, a gold progress line with stage captions, then "tap anywhere to enter" whose tap is the browser gesture that unlocks audio; uses a still captured from the live scene as the backdrop that cross-fades into the real render, and warms up shaders before lifting so the first interaction never stalls. Use when adding a loading screen, splash screen, intro curtain, preloader, tap-to-start / audio unlock gate or shader pre-compilation to a WebGL scene./threejs-day-cycle-lightingAnimates the sun in a three.js scene from sunrise to sunset through a single applySun(az, el) writer — azimuth sweep, elevation arc, warm-to-gold light colour, horizon falloff, warming sky dome and fog, re-aimed god rays and every sun-driven shader uniform — plus a cinematic "sun follows the lens" mode that keeps the sun beside the camera heading for backlit shots with boosted god rays and forward scattering. Use when adding a day/night cycle, time-of-day slider, sunrise/sunset, moving sun, backlit tour shots, or when several systems fight over the sun direction in WebGL/R3F./threejs-dreamy-glass-hudTurns a three.js scene's DOM overlay into one coherent, dreamlike HUD — a single frosted-glass material shared by every pill, badge and popover whose colours are registered CSS properties so the whole HUD cross-fades from pearl to deep indigo as the scene turns to night; an inline-SVG icon dock whose lit toggles glow gold instead of shouting; a glass popover in place of a native select; first-visit hints "whispered" in handwriting that step aside the moment the visitor understands; a HUD that drifts away after half a minute of stillness; a mote of light under each tap; a staggered arrival after the loading gate; and letterbox bars during a camera tour. Use when the overlay UI looks like a dev panel on top of a beautiful scene, when asked for a dreamy, cinematic, premium or 梦幻 / 绝美 UI, glassmorphism, a day/night-aware HUD, onboarding hints, auto-hiding UI, tap feedback, or to restyle lil-gui to match.