Repository navigation
Tessellation
Kevin Mallinson edited this page Nov 14, 2026
·
1 revision
The game's curves are built from few polygons: quarter pipes, rails, pipes, car bodies and round props are visibly
faceted. rt_tessellation=1 rounds them off as a level loads - more triangles that follow the curve - while flat
walls, hard edges, see-through and cut-out surfaces, skaters and peds stay as they are.
The skater still rides the original surfaces. The drawn ones never move more than rt_tess_max_deviation (2 units -
about two inches by default) from them, so the wheels stay on what you see.
Works on both renderers. Takes effect from the next level loaded.
| Where | Setting |
|---|---|
| Options > Graphics | Smooth curves, Curve smoothing |
thug2-decomp.ini [Graphics]
|
rt_tessellation=1 |
| Key | Default | What it does |
|---|---|---|
rt_tess_level |
3 | The most pieces a curved edge is cut into (2-8) |
rt_tess_max_deviation |
2 | How far (world units) a smoothed surface may move from the original |
rt_displacement |
0 | How far a surface's height map raises and lowers it, within the deviation; no height maps ship yet (rt_tess_test_heights=1 shows a test pattern) |
-
[debug] tess_log=1writes a line for every mesh smoothed at load. -
node tools/game/tess_gap.tsmeasures the gap between the drawn surfaces and the collision in a test workspace.
Rendering
- Vulkan renderer
- Graphics options
- Ray-traced lighting
- Reflections
- Relit levels
- Per-pixel lighting
- Sky and fog
- Water
- Grass
- Lamp lights
- HDR and bloom
- Upscaling
- Tessellation
Looks
Gameplay and content
Tools