---
id: "semi-sharp-creases"
title: "Semi-Sharp Creases"
domain: "geometry"
stage: "geometry"
realtime: "realtime"
platforms: [cpu, blender, unity, unreal, desktop-gpu]
year_introduced: 1998
inputs: [mesh]
outputs: [mesh]
style: "both"
dynamic: "both"
cost: "cheap"
authority: "DeRose et al., 1998"
url: "https://texelatlas.vercel.app/t/semi-sharp-creases/"
sources_verified_at: "2026-11-29"
---
# Semi-Sharp Creases (DeRose et al., 1998)

> Gives each subdivision edge a real-valued sharpness: for that many levels it follows sharp (crease) rules, then switches to smooth rules. Lets a coarse cage carry bevels and hard-to-soft transitions without extra edge loops.

## Reach for it when

- subdivision surface rounds off hard edges
- need partially sharp edges on a smooth model
- control edge sharpness on subdivided mesh
- hard-surface models look blobby when subdivided

## How it works

Tag edges with a sharpness s >= 0. At each subdivision level, edges with s > 0 use the crease rules (new edge point on the edge midpoint; vertices on two creases follow a cubic B-spline curve along the crease) and their children receive s-1. Edges with s <= 0 use the standard smooth rule. A fractional s blends between the sharp and smooth outcomes, giving a continuum from soft bevel to hard line. A crease vertex touched by three or more creases is a corner. Integer sharpness ties the visual result to the number of subdivision levels used for display, so renderers evaluate the limit surface with the same sharpness semantics. The rules are defined on top of Catmull-Clark and extend to Loop.

## When to use it

Choose it when modelling hard-surface or mechanical forms on a subdivision cage and you want crisp edges that stay editable by a single number. Prefer extra support loops when the DCC pipeline or target engine does not support crease tags, and [Catmull-Clark Subdivision](https://texelatlas.vercel.app/t/catmull-clark-subdivision.md) alone for organic shapes.

## Cost

cheap — Negligible beyond plain subdivision: a handful of extra branches per edge at each refinement level.
Measured GPU Weight: 21.52× baseline (heavy) — 0.667 ms median / 0.6933 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 17.53× baseline (moderate) — 0.2788 ms median (2.39× faster on L4).
Ampere A100 scaling: 14.12× baseline (moderate) — 0.4067 ms median (1.64× faster on A100).

## Failure modes

- Results differ if a viewer uses fewer subdivision levels than the sharpness value
- Creases ending inside a smooth region leave a visible dart-shaped pinch
- Fractional sharpness varies between implementations unless they follow the same blending rule
- Exports to formats without crease support silently turn them into smooth edges

## Engine support

- blender: builtin — `Edit Mode > Edge > Edge Crease (Shift-E); Subdivision Surface modifier honours it` (evidence: https://docs.blender.org/manual/en/5.2/modeling/modifiers/generate/subdivision_surface.html, checked 2026-12-01)

## Dataflow

- Inputs: mesh
- Outputs: mesh
- Platforms: cpu, blender, unity, unreal, desktop-gpu

## Presets

### Semi-Sharp Creases — smooth C^2 fillet s=0 (left) vs tunable sharpness weight s (right) (glsl-fragment; rendered 2026-11-30)

```json
{
  "P_SHARPNESS": 3.5,
  "P_ZEBRA_VIS": 0.7,
  "P_ROT_SPEED": 0.7,
  "P_SPLIT": 0.48
}
```

```glsl
const float P_SHARPNESS = 3.5; // P Crease Weight s [0.0, 6.0, 0.1]
const float P_ZEBRA_VIS = 0.70; // P Zebra Curvature [0.0, 1.0, 0.05]
const float P_ROT_SPEED = 0.70; // P Spin Speed [0.0, 2.2, 0.05]
const float P_SPLIT = 0.48; // P Smooth / Crease Split [0.0, 1.0, 0.02]

mat2 rot2(float a) { float c = cos(a), s = sin(a); return mat2(c, -s, s, c); }

float sdRoundBox(vec3 p, vec3 b, float r) {
  vec3 q = abs(p) - b + vec3(r);
  return length(max(q, 0.0)) + min(max(q.x, max(q.y, q.z)), 0.0) - r;
}

float smin(float a, float b, float k) {
  float h = clamp(0.5 + 0.5 * (b - a) / max(k, 1e-4), 0.0, 1.0);
  return mix(b, a, h) - k * h * (1.0 - h);
}

// Mechanical cross-block with semi-sharp crease edges whose bevel radius decays as 2^(-s)
float mapCreaseObj(vec3 p, float sharpness, float spin, out float creaseDist) {
  vec3 q = p;
  q.xz = rot2(spin * 0.55) * q.xz;
  q.yz = rot2(0.45) * q.yz;

  // Semi-sharp subdivision rule: sharpness s delays smooth averaging for s levels => fillet radius ~ r0 * 2^(-s)
  float rCrease = 0.24 * pow(0.5, clamp(sharpness, 0.0, 6.0)) + 0.004;
  float dMain = sdRoundBox(q, vec3(0.56, 0.56, 0.56), rCrease);
  float dRib = sdRoundBox(q, vec3(0.76, 0.24, 0.24), rCrease * 0.85);
  float dRib2 = sdRoundBox(q, vec3(0.24, 0.76, 0.24), rCrease * 0.85);
  float d = smin(dMain, min(dRib, dRib2), rCrease * 0.9);

  // Measure proximity to the tagged crease lines on the cube boundary
  vec3 aq = abs(q);
  float eXY = length(aq.xy - vec2(0.56));
  float eYZ = length(aq.yz - vec2(0.56));
  float eXZ = length(aq.xz - vec2(0.56));
  creaseDist = min(eXY, min(eYZ, eXZ));
  return d;
}

vec3 calcNormal(vec3 p, float sharpness, float spin) {
  vec2 e = vec2(0.0018, 0.0);
  float tmp;
  return normalize(vec3(
    mapCreaseObj(p + e.xyy, sharpness, spin, tmp) - mapCreaseObj(p - e.xyy, sharpness, spin, tmp),
    mapCreaseObj(p + e.yxy, sharpness, spin, tmp) - mapCreaseObj(p - e.yxy, sharpness, spin, tmp),
    mapCreaseObj(p + e.yyx, sharpness, spin, tmp) - mapCreaseObj(p - e.yyx, sharpness, spin, tmp)
  ));
}

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;
  float screenX = fragCoord.x / max(iResolution.x, 1.0);
  float split = clamp(P_SPLIT, 0.0, 1.0);
  bool isCrease = screenX >= split;
  float sharp = isCrease ? clamp(P_SHARPNESS, 0.0, 6.0) : 0.0;
  float zebraAmt = clamp(P_ZEBRA_VIS, 0.0, 1.0);
  float spin = iTime * max(P_ROT_SPEED, 0.0);

  vec3 ro = vec3(0.0, 0.04, 2.55);
  vec3 rd = normalize(vec3(uv, -1.55));

  vec3 col = mix(vec3(0.025, 0.035, 0.055), vec3(0.072, 0.092, 0.138), smoothstep(-0.55, 0.55, uv.y));

  float t = 0.0;
  bool hit = false;
  float cDist = 1.0;
  for (int i = 0; i < 64; i++) {
    float d = mapCreaseObj(ro + rd * t, sharp, spin, cDist);
    if (d < 0.0018) { hit = true; break; }
    t += d * 0.85;
    if (t > 8.0) break;
  }

  if (hit) {
    vec3 p = ro + rd * t;
    vec3 n = calcNormal(p, sharp, spin);
    vec3 rDir = reflect(rd, n);

    // Studio zebra reflection stripes reveal exact G1/G2 continuity across the semi-sharp crease!
    float zebra = smoothstep(-0.12, 0.12, sin(rDir.y * 26.0 + rDir.x * 10.0));
    vec3 zebraCol = mix(vec3(0.10, 0.14, 0.22), vec3(0.92, 0.96, 1.0), zebra);

    vec3 l1 = normalize(vec3(0.58, 0.82, 0.55));
    float diff = max(dot(n, l1), 0.0);
    float spec = pow(max(dot(n, normalize(l1 - rd)), 0.0), 64.0);
    float fres = 0.10 + 0.90 * pow(1.0 - max(dot(n, -rd), 0.0), 4.0);

    vec3 baseAlb = isCrease ? vec3(0.20, 0.68, 0.82) : vec3(0.76, 0.54, 0.36);
    vec3 litCol = baseAlb * (0.28 + 0.82 * diff) + vec3(1.0) * spec * 0.65;
    col = mix(litCol, zebraCol * (0.72 + 0.28 * baseAlb), zebraAmt * (0.45 + 0.45 * fres));

    // Tag semi-sharp crease edges with crisp amber line on right side
    if (isCrease && sharp > 0.2) {
      float tagLine = smoothstep(0.038, 0.008, cDist);
      col = mix(col, vec3(1.0, 0.78, 0.20), tagLine * 0.82 * clamp(sharp / 2.5, 0.0, 1.0));
    }
  }

  float sep = smoothstep(0.0035, 0.0008, abs(screenX - split));
  col = mix(col, vec3(0.95, 0.97, 1.0), sep);

  fragColor = vec4(pow(clamp(aces(col), 0.0, 1.0), vec3(1.0 / 2.2)), 1.0);
}
```

Attribution: MIT — written for this index.

## Lineage

- extends [Catmull-Clark Subdivision](https://texelatlas.vercel.app/t/catmull-clark-subdivision.md)

## Combines with

- [Catmull-Clark Subdivision](https://texelatlas.vercel.app/t/catmull-clark-subdivision.md): Edge sharpness tags modify the refinement rules at each level.

## Combination ideas

- [Crease sharpness steers generated wear](https://texelatlas.vercel.app/ideas/crease-aware-generative-texturing/)
- [Triangle-native Loop subdivision with continuous semi-sharp creases](https://texelatlas.vercel.app/ideas/loop-subdivision-semi-sharp-creases/)

## Sources

1. [primary] Tony DeRose, Michael Kass, Tien Truong (1998) Subdivision surfaces in character animation. Proceedings of the 25th annual conference on Computer graphics and interactive techniques  - SIGGRAPH '98. https://doi.org/10.1145/280814.280826 (verified via crossref on 2026-11-29)
2. [implementation] PixarAnimationStudios (2012) PixarAnimationStudios/OpenSubdiv. https://github.com/PixarAnimationStudios/OpenSubdiv License: NOASSERTION. (verified via github on 2026-11-29)

## Cite this entry

Texel. "Semi-Sharp Creases." https://texelatlas.vercel.app/t/semi-sharp-creases/ (accessed 2026-12-01).
