# The look system: one material, a table, and liveries

> Every unit and building now shares one master material that reads its colours from a table: worn edges, grime in the seams, rain and the region's dust from the geometry, panel lines from patterns, and five liveries a pilot can pick. A tuner edits the table live.

Source: https://ringshadow.com/blog/look-system

21 October 2026 · The look

A model's look used to be a pile of material instances, 876 of them, baked into its meshes. Now it's data: one master material for every hull, reading each surface's colour, metal, wear and grime from a table. Edges wear and seams collect grime because of the geometry, and a pilot can paint their Prospector and Mule.

![The look tuner: sliders for the Mule's hull rows (base colour, metallic, roughness, wear, grime, dust, pattern) beside the Mule model](https://ringshadow.com/blog/media/look-system/cover.jpg)

*The look tuner on the Mule: each row of its look table as sliders, written into the game live.*

## Where the idea came from

On 19 October Jan Orszulik, a solo developer, posted a thread on X about a livery and material editor he built for his spaceship models with AI help. His editor doesn't paint final textures. It makes masks, and the GPU combines them with tables of materials, so the look survives a model whose shape or UVs change. Edge wear and cavities come from the geometry. That fit our problem closely: our model scripts are rerun all the time, and every rerun makes fresh meshes. The agents wrote up seven things the idea could do for Ringshadow, and built them in order.

## One material, one table

A part of a model used to have one mesh per material, and each mesh was its own draw in every pass. Now a part's plain hull materials are one mesh, and each vertex carries its material's row number. Every look mesh of every model shares one master material, which reads that row from a small table texture: base colour, metal, roughness, team tint, wear, grime, dust, emission, a detail pattern, the bare metal under the paint. A row's number never changes once it's given, and a model script only seeds a row the first time it sees a material, so rerunning a script never overwrites a look someone tuned.

The rollout merged 49 models, units, buildings, cockpits, scaffolds and the Brood, from 779 hull meshes into 350. Lamps, glass, screens and the painted skins keep their own materials, and so do the ground, the ore and the wells, which are drawn by the thousand.

## Wear from the geometry

When a model script builds a look mesh, it bakes two things in. One is ambient occlusion against the whole model, so a part darkens where it meets its neighbours. The other is each corner's distance to the nearest real edges of its face, with each edge marked as exposed or as a seam against another solid. The master material draws a band along those edges: paint rubbed through to bare metal on the exposed ones, grime and soot in the seams. On top of that, rain darkens the hull and streaks down the sides, and the region's ground colour settles as dust in cavities and on top faces until rain washes it off. Panel lines and rivets come from a pattern projected on the part, with nothing modelled.

The first try used the engine's curvature bake. On our low-poly solids every corner of a box face sits on an edge, so whole faces came out worn, and the Mule's hopper walls went grey. The edge distances had a bug too. Each triangle first knew only its own two edges, so on a long thin face like the Mule's hood one triangle of the quad didn't know about the far edge, and its band stopped at the diagonal: the hood looked crumpled. Now each triangle takes the two edges whose bands cover most of it.

## Liveries, the tuner, and before and after

- ![Four columns of the Mule, the Atlas and the Citadel, each column a different livery painted over the blue team paint](https://ringshadow.com/blog/media/look-system/01-liveries.webp) Liveries 1 to 4 on the Mule, the Atlas and the Citadel.
- ![The look tuner with the Mule](https://ringshadow.com/blog/media/look-system/02-tuner.webp) The tuner: day, night, rain, both teams, SAVE and RELOAD.
- ![The Mule before and after side by side by day](https://ringshadow.com/blog/media/look-system/03-mule-day.webp) The Mule by day, before and after: worn edges on the bumper and the hood.
- ![The Mule before and after in rain](https://ringshadow.com/blog/media/look-system/04-mule-rain.webp) In rain.
- ![Three close-ups of the Mule's hood for both teams: the old material, the crumpled first edges, and the fixed edges](https://ringshadow.com/blog/media/look-system/05-hood-fix.webp) The hood: the old material, the first edges (crumpled), the fixed ones.
- ![The Prospector before and after](https://ringshadow.com/blog/media/look-system/06-prospector.webp) The Prospector.
- ![The Longbow before and after](https://ringshadow.com/blog/media/look-system/07-longbow.webp) The Longbow.
- ![The Citadel before and after](https://ringshadow.com/blog/media/look-system/08-citadel.webp) The Citadel.

## Liveries

At your realm's Citadel or a Hab Dome, the station now has a LIVERY section: PLAIN, STRIPES, CAMO, CHEVRONS or NUMBERS. Your pick is saved with your progress and painted on your own Prospector and Mule, which every other pilot sees. Stripes, chevrons and numbers go on in bone white over the team colour, and camo uses the team colour darkened. Only the rows a table marks as team paint take it.

## The tuner

The look tuner opens a model in the model row with each of its table rows as sliders. Every change goes straight into the table texture, so I can tune a colour by eye by day, at night or in rain, for either team, then save it to the table file. No model gets rebuilt.

## What it costs

On a screen of 400 Mules, draws fell 10% and instances by a third, and the base pass costs about 0.1 ms more. It comes partly from the meshes and partly from the master's inputs; turning the effects off doesn't change it. On the bench's mixed army of units and buildings, draws fell 6% and the GPU frame stayed within the runs' noise. No texture grew, and every model keeps its own meshes and levels of detail.

## What isn't done

Debris and wrecks keep the team paint only, without the livery. Where a pattern's tile lands on a hull is still mine to tune: at the default anchor the stripes miss the Mule's hopper sides. The Juggernaut has no hull mesh the system can take.
