---
id: "shell-fur-rendering"
title: "Shell and fin fur rendering"
aliases: [shell texturing, shells and fins, volumetric fur shells]
domain: "materials"
stage: "material"
realtime: "realtime"
platforms: [webgl2, webgpu, desktop-gpu, mobile-gpu, unity, unreal, godot]
year_introduced: 2001
inputs: [mesh, texture]
outputs: [radiance]
style: "both"
dynamic: "dynamic"
cost: "medium"
authority: "Lengyel et al., 2001"
url: "https://texelatlas.vercel.app/t/shell-fur-rendering/"
sources_verified_at: "2026-11-29"
---
# Shell and fin fur rendering (Lengyel et al., 2001)

> Renders short fur by drawing the mesh many times, each copy pushed out a little along the normal with a strand-density alpha texture, plus extruded fin quads along silhouettes. It is cheap, GPU friendly and easy to animate.

## Reach for it when

- cheap fur on animal character for games
- want short fuzzy fur without strand geometry
- fur shows visible slices at silhouette
- need wind or gravity bending fuzzy surface
- stylised furry or grassy surface using layered shells

## How it works

Shells: draw N offset copies of the skin mesh, shell k displaced by k/N times the fur length along the vertex normal. A texture or procedural hash holds a random strand pattern; each shell keeps only texels whose strand height exceeds k/N, so layers stack into tapered strands when viewed from above. Colour darkens toward the root for fake self-shadowing, and lighting uses a Kajiya-Kay-style tangent or a simple normal blend. Forces such as gravity, wind or animation velocity bend higher shells by an increasing offset. Shells look like stacked slices at the silhouette, so Lengyel's fins add quads extruded perpendicular to the surface along edges facing sideways, textured with a side view of the fur. Modern versions generate the shells with instancing and a hash-based strand mask in the fragment shader, avoiding a texture entirely.

## When to use it

Choose it for short fur on characters, creatures and stylised props where overdraw is acceptable and strands do not need to be individual curves. Prefer [Strand-based real-time hair (TressFX style)](https://texelatlas.vercel.app/t/strand-based-real-time-hair.md) for long hair with simulation and silhouettes. Prefer [Kajiya-Kay hair shading](https://texelatlas.vercel.app/t/kajiya-kay-hair-shading.md) on hair cards for long styles. For stylised grass or carpet the same shell approach works with a different mask. For path-traced fur use [Disney / Chiang hair and fur BSDF](https://texelatlas.vercel.app/t/disney-hair-bsdf.md).

## Cost

medium — Scales with shell count times covered pixels; 16-64 shells is typical and is overdraw-bound.
Measured GPU Weight: 36.7× baseline (heavy) — 1.2074 ms median / 1.2413 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 29.43× baseline (heavy) — 0.468 ms median (2.58× faster on L4).
Ampere A100 scaling: 23.67× baseline (heavy) — 0.6816 ms median (1.77× faster on A100).

## Failure modes

- Visible layering and gaps at silhouettes when viewed from low angles, unless fins or more shells are added
- Heavy overdraw and alpha-test cost when many characters are covered with fur
- Shimmering strand pattern when shells alias at distance without LOD shell reduction
- Strands penetrate or stretch where vertex normals change sharply, because offsets follow the normal
- Shadow casting is poor since shells are alpha-tested slices

## Engine support

- babylonjs: official — `import { FurMaterial } from "@babylonjs/materials/fur"` (evidence: https://github.com/BabylonJS/Babylon.js/blob/9.38.0/packages/dev/materials/src/fur/furMaterial.ts, checked 2026-12-01)

## Dataflow

- Inputs: mesh, texture
- Outputs: radiance
- Platforms: webgl2, webgpu, desktop-gpu, mobile-gpu, unity, unreal, godot

## Presets

### Concentric volumetric fur shells — procedural tapered strands, root AO and wind sway (glsl-fragment; rendered 2026-11-30)

```json
{
  "SHELLS": 24,
  "FUR_LENGTH": 0.16,
  "STRAND_DENSITY": 46,
  "GRAVITY_SWAY": 0.32
}
```

```glsl
const int SHELLS = 24; // P
const float FUR_LENGTH = 0.16; // P
const float STRAND_DENSITY = 46.0; // P
const float GRAVITY_SWAY = 0.32; // P

vec2 hash22(vec2 p) {
  vec3 q = fract(vec3(p.xyx) * vec3(0.1031, 0.1030, 0.0973));
  q += dot(q, q.yzx + 33.33);
  return fract((q.xx + q.yz) * q.zy);
}

// Cube-face octahedral projection avoids spherical UV pinching at poles
vec2 sphereFaceUV(vec3 d) {
  vec3 a = abs(d);
  if (a.x >= a.y && a.x >= a.z) return d.yz / a.x + vec2(d.x > 0.0 ? 2.0 : -2.0, 0.0);
  if (a.y >= a.x && a.y >= a.z) return d.xz / a.y + vec2(0.0, d.y > 0.0 ? 4.0 : -4.0);
  return d.xy / a.z + vec2(d.z > 0.0 ? 6.0 : -6.0, 0.0);
}

vec3 aces(vec3 x) {
  x = max(x, 0.0);
  return (x * (2.51 * x + 0.03)) / (x * (2.43 * x + 0.59) + 0.14);
}

void mainImage(out vec4 fragColor, in vec2 fragCoord) {
  vec2 uv = (fragCoord - 0.5 * iResolution.xy) / iResolution.y;
  vec3 ro = vec3(0.0, 0.08, 2.55);
  vec3 rd = normalize(vec3(uv, -1.55));

  float baseR = 0.68;
  float furL = clamp(FUR_LENGTH, 0.01, 0.36);
  float outerR = baseR + furL;

  vec3 bg = mix(vec3(0.045, 0.055, 0.075), vec3(0.14, 0.16, 0.21), clamp(uv.y + 0.55, 0.0, 1.0));
  float b = dot(ro, rd);
  float cOut = dot(ro, ro) - outerR * outerR;
  float hOut = b * b - cOut;
  if (hOut < 0.0) {
    fragColor = vec4(pow(clamp(aces(bg), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
    return;
  }

  float tEnter = max(-b - sqrt(hOut), 0.0);
  float tExit = -b + sqrt(hOut);
  float cIn = dot(ro, ro) - baseR * baseR;
  float hIn = b * b - cIn;
  if (hIn > 0.0) tExit = min(tExit, -b - sqrt(hIn));

  float yaw = iTime * 0.28;
  if (iMouse.z > 0.5 || length(iMouse.xy) > 1.0) {
    yaw = (iMouse.x / iResolution.x - 0.5) * 3.14159;
  }
  float cy = cos(yaw), sy = sin(yaw);
  mat2 rotY = mat2(cy, -sy, sy, cy);

  vec3 lightDir = normalize(vec3(0.62, 0.72, 0.55));
  vec3 rimDir = normalize(vec3(-0.75, 0.35, -0.45));
  int nShells = clamp(SHELLS, 4, 48);
  float dens = max(STRAND_DENSITY, 8.0);
  float sway = max(GRAVITY_SWAY, 0.0);

  // March front-to-back through concentric fur shells
  vec3 accum = vec3(0.0);
  float alpha = 0.0;
  for (int i = 0; i < 48; i++) {
    if (i >= nShells || alpha > 0.98) break;
    float f = (float(i) + 0.5) / float(nShells);
    float t = mix(tEnter, tExit, f);
    vec3 wp = ro + rd * t;
    float r = length(wp);
    float hNorm = clamp((r - baseR) / furL, 0.0, 1.0);
    vec3 n = wp / max(r, 1e-4);

    // Gravity droop + animated wind wave increasing quadratically from root to tip
    vec3 wind = vec3(sin(iTime * 1.8 + wp.y * 3.0) * 0.35, -0.65, cos(iTime * 1.4 + wp.x * 3.0) * 0.25);
    vec3 bentDir = normalize(n - wind * (hNorm * hNorm * sway * 0.55));
    vec3 locDir = vec3(rotY * bentDir.xz, bentDir.y).xzy;
    vec2 fuv = sphereFaceUV(locDir) * dens;
    vec2 cell = floor(fuv);
    vec2 frac = fract(fuv) - 0.5;
    vec2 rnd = hash22(cell);
    vec2 jitter = (rnd - 0.5) * 0.42;

    float strandH = 0.32 + 0.68 * hash22(cell + vec2(17.3, 41.9)).x;
    float taper = mix(0.46, 0.05, hNorm / max(strandH, 0.01));
    float dist = length(frac - jitter);
    float hitStrand = (hNorm < strandH) ? smoothstep(taper + 0.06, taper - 0.06, dist) : 0.0;

    if (hitStrand > 0.01) {
      // Subtle warm feline/fox coat striping + root-to-tip self-occlusion
      float stripe = 0.5 + 0.5 * sin(locDir.y * 14.0 + sin(locDir.x * 7.0) * 1.2);
      vec3 rootCol = vec3(0.24, 0.13, 0.07);
      vec3 tipCol = mix(vec3(0.86, 0.54, 0.26), vec3(0.95, 0.84, 0.68), stripe * 0.55);
      vec3 furCol = mix(rootCol, tipCol, pow(hNorm, 0.65));
      float rootAO = mix(0.16, 1.0, pow(hNorm, 0.78));
      float wrapDiff = clamp((dot(n, lightDir) + 0.35) / 1.35, 0.0, 1.0);
      float rim = pow(1.0 - max(dot(n, -rd), 0.0), 3.0) * (0.35 + 0.65 * max(dot(n, rimDir) + 0.4, 0.0));
      vec3 lit = furCol * rootAO * (vec3(0.14, 0.16, 0.22) + vec3(1.55, 1.42, 1.24) * wrapDiff) + vec3(0.75, 0.82, 0.95) * rim * rootAO * 0.65;
      float aLayer = hitStrand * (1.0 - alpha);
      accum += lit * aLayer;
      alpha += aLayer;
    }
  }

  // Inner skin core if ray reaches baseR
  if (hIn > 0.0 && alpha < 0.99) {
    vec3 wp = ro + rd * tExit;
    vec3 n = normalize(wp);
    float nl = max(dot(n, lightDir), 0.0);
    vec3 skin = vec3(0.18, 0.10, 0.06) * (0.15 + 0.7 * nl);
    accum += skin * (1.0 - alpha);
    alpha = 1.0;
  }
  vec3 col = mix(bg, accum, alpha);
  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}
```

Attribution: MIT — written for this index

## Combines with

- [Kajiya-Kay hair shading](https://texelatlas.vercel.app/t/kajiya-kay-hair-shading.md): Each shell can use the fibre tangent lobes to get a directional highlight along the strand.

## Sources

1. [primary] Jerome Lengyel, Emil Praun, Adam Finkelstein, Hugues Hoppe (2001) Real-time fur over arbitrary surfaces. Proceedings of the 2001 symposium on Interactive 3D graphics. https://doi.org/10.1145/364338.364407 (verified via crossref on 2026-11-29)
2. [implementation] Gökay Aydoğan (2026) gokayfem/glsl-studies. https://github.com/gokayfem/glsl-studies License: MIT. (verified via github on 2026-11-30)

## Cite this entry

Texel. "Shell and fin fur rendering." https://texelatlas.vercel.app/t/shell-fur-rendering/ (accessed 2026-12-01).
