Tessellation

On this page 7

Tessellation is a GPU rendering technique that subdivides coarse polygon surfaces into many smaller triangles while a frame is being drawn, so that models, terrain and water can show real geometric detail instead of detail that is only painted into textures. Among the graphics settings in gaming, the tessellation option controls how aggressively the GPU adds this geometry, which affects both silhouettes and frame rate.

Because the extra triangles are generated on the graphics card rather than stored in the game files, tessellation lets developers ship lightweight base meshes and scale detail up or down per scene. Its main cost is geometry processing load, which can be modest on modern hardware or severe when the factor is set too high.

How tessellation works in the GPU pipeline

Hardware tessellation was standardized in Direct3D 11 and OpenGL 4.0, and it is also available in Vulkan and Metal. It inserts three stages between the vertex shader and the geometry or rasterization stages. Together they take a patch, which is a small group of control points, and turn it into a dense mesh of triangles.

The table below summarizes the three stages and the responsibility of each one, using Direct3D names with the OpenGL equivalents.

StageProgrammableMain job
Hull shader (tessellation control)YesSets tessellation factors per patch edge
Fixed-function tessellatorNoGenerates new vertices and triangles
Domain shader (tessellation evaluation)YesPositions each new vertex on the surface
Stages of the hardware tessellation pipeline

The new vertices are usually pushed outward or inward by a displacement map, a grayscale texture that stores height. This is what turns a flat brick wall into bricks with real depth that cast proper shadows and change the silhouette when seen from an angle.

Tessellation factors and adaptive detail

The tessellation factor sets how many times each patch edge is subdivided. Direct3D 11 allows factors from 1 to 64, and the triangle count rises roughly with the square of the factor, so doubling the factor can add about four times as many triangles. This quadratic growth explains why the highest settings can hurt performance badly.

FactorApproximate triangles per patchTypical use
11Tessellation effectively off
4About 16Distant objects, low preset
16About 256Close terrain, character detail
64About 4,000Extreme close-ups, benchmarks
Effect of the tessellation factor on a single triangle patch

Well-built engines use adaptive tessellation: the hull shader raises the factor for patches near the camera or on visible silhouettes and lowers it for distant or back-facing surfaces. The goal is to keep triangles at a target size of a few pixels on screen, because triangles smaller than a pixel waste GPU work without adding visible detail.

Tessellation compared with other detail techniques

Tessellation is one of several ways to add surface detail, and it is the only one in this group that changes the actual geometry at render time. The comparison below shows what each method can and cannot do.

TechniqueChanges silhouetteRelative costTypical weakness
Normal mappingNoVery lowLooks flat at grazing angles
Parallax occlusion mappingNoLow to mediumBreaks at edges and steep angles
Tessellation with displacementYesMedium to highCost rises quickly with factor
High-polygon static meshesYesMemory heavyLarge files, no dynamic scaling
Mesh shaders and virtualized geometryYesVariesRequires newer GPUs and engines
Surface detail techniques in real-time rendering

Newer approaches such as mesh shaders and virtualized geometry systems stream very dense meshes and choose detail per cluster. They are gradually replacing classic tessellation in some engines, although tessellation remains common for terrain, water and snow deformation. In those cases the base surface is simple and regular, which suits patch-based subdivision, and the displacement often changes during play as characters and vehicles move across it.

Choosing a tessellation setting in games

In a game menu, tessellation may appear as an on and off switch, as quality levels or as a maximum factor. The right choice depends on the GPU, the resolution and how visible the effect is in that particular title. The decision table gives a practical starting point.

SituationRecommended settingReason
Modern mid-range or high-end GPUHigh or ultraGeometry throughput is rarely the bottleneck
Older or entry-level GPULow or mediumSaves geometry load with small visual loss
Competitive multiplayerLow or offStable frame rate matters more than detail
Screenshots or slow explorationHighest availableSilhouettes and terrain gain visible depth
Frame time spikes in open areasLower one stepDense terrain is often the cause
Recommended tessellation choices by situation

Some driver control panels let users cap the tessellation factor globally, for example at 8x or 16x. This can recover performance in games that apply needlessly high factors, but it may also produce visible artifacts where a developer expected the full value.

Limitations and common mistakes

  • Over-tessellation wastes performance when triangles become smaller than a pixel, a problem seen in some early showcase titles.
  • Cracks between patches appear if neighboring edges receive different factors, so engines must match edge factors carefully.
  • Swimming or popping can occur when factors change abruptly with distance; smooth fractional partitioning reduces it.
  • Tessellation does not improve texture sharpness; blurry surfaces need higher texture quality or better anisotropic filtering.
  • Turning tessellation off in a game that relies on it can cause floating objects or holes in terrain, because other assets assume displaced geometry.

Stripped to the essentials

Tessellation lets the graphics card cut a simple 3D shape into many tiny pieces on the fly. Those pieces can then be pushed up or down. The result is real bumps, cracks and ridges.

Imagine a flat sheet of paper versus a crumpled one. Tessellation lets a game crumple the paper. A stone wall or a rocky path then has real depth you can see from the side. More pieces look better but cost more speed. The setting is a balance between detail and frame rate.

Where it is applied

An open-world game shows a mountain road covered in loose stones and fresh snow. The artists ship a terrain mesh with only a few thousand triangles per tile, plus displacement maps for rock and snow. When the player walks close, adaptive tessellation raises the factor to about 16 near the camera, and footprints and wheel ruts in the snow gain true depth and cast correct shadows.

A player with an older graphics card notices the frame rate dropping from 60 to around 45 frames per second on that road. Lowering tessellation from ultra to medium caps the factor near the camera, restores a stable 60 frames per second and leaves the stones only slightly flatter at a distance. The setting traded a small visual loss for smooth play.