Teaching the Water to Behave (and Then Moving It to the GPU)

Notes from the Living World water rework, December 2026

Living World is a simulation-first voxel game. The world is a grid of cubes; water, sediment, plants, grazing animals, lava and the occasional volcano all live in a Unity-independent C# core, and Unity’s job is to draw what the core decides. Water is the part everyone plays with. You dig a channel, you dam a valley, you blow a hole in the dam, and you watch the flood go.

The owner of the project put the problem in one sentence: with even a moderate amount of water, “performance drops like a brick.”

This post is the story of the two days that followed. Some of it worked. Some of it worked in the benchmark and then fell over in the actual game. One part produced a column of lava that went straight up out of the frame. I’ll cover all of it, with the numbers, because the numbers are where most of the surprises were.

All timings are from one machine: a Ryzen 7 8745HS laptop (8 cores, 16 threads) with Radeon 780M integrated graphics, running the Linux player on Vulkan. “Large” is a 256 × 256-column world at Medium detail. “Giant” is 512 × 512. At Medium the simulation ticks 20 times per simulated second.

Where we started

The water engine at the start of this round was already its second life. An earlier engine moved water cell by cell through the voxel grid. It was replaced (issue #101) by a column engine: every column of the world is split into spans of air, every span holds one body of water, and neighbouring spans exchange water through faces using a shallow-water law with momentum. That law is the reason the water looks good. Dam breaks surge, lakes slosh and settle, and water climbs over a ledge the way it should.

The bad news came from an earlier performance audit:

  • Water was 85 to 90 percent of every simulation tick.
  • Its cost tracked the number of wet cells, at roughly 0.08 to 0.15 microseconds each.
  • In the hot functions, 57 to 92 percent of profiler samples sat on a memory load. The CPU spent most of its time waiting for data to arrive.

There was also some scar tissue. A previous attempt to speed things up by changing how the water was represented had produced speedups of 0.94× to 1.23×. Yes, 0.94×. Slower. We’ll meet that lesson again later.

Step one: write down what the water actually does

Before touching anything I made a list of every job the water does, and every system that reads it. That list did more work than any optimisation that followed, because it let the owner make decisions instead of me guessing.

What the water does:

  • flows with momentum (dam breaks, sloshing, weirs)
  • falls: water going over a ledge became “falling water” stored in voxels, dropping one cell per tick
  • stacks: caves, overhangs, water under a ledge, flooded tunnels with a slow pressure rule
  • leaves the world over open edges, drawn as edge waterfalls
  • takes rain (steady or storms), evaporation, player-placed sources and sinks
  • boils when lava touches it and quenches the lava into basalt
  • carries suspended sediment, per voxel, which drives erosion and deposition
  • feeds plants, fish, grazing animals and a wandering person who can drown in it
  • gets drawn by a GPU mesher that reads per-cell water, sediment and flow

The most useful finding was this: almost every consumer only needed depth, surface height and speed per column. The 3D structure was paid for by everyone and used by four features: caves, falling water, sediment settling through depth, and lava boiling water at each height beside it.

So I asked the owner which 3D features they wanted to keep. The answers were blunt and helpful:

  • No caves, and no plans for any. Cave water can go.
  • Steady rain is old and should probably be removed. “Obviously a massive performance killer too.”
  • Falling water doesn’t need to be simulated if it looks the same. With one exception: a dam break pouring over lava had produced some great rapids, and those had to survive.
  • 100% determinism is nice for testing, but negotiable.
  • And the overriding rule: “the water behavior is nothing short of amazing.” Don’t trade it away for speed.

The owner also set a working rule I came to appreciate: “I don’t want to be going back and forth for days on experiment/test repeat ad nauseum.” One prototype, a quick comparison, a playtest, a decision.

Stage 1: no more steady rain

Steady rain puts the same amount of water on every column every tick. The engine had activity tracking (faces at rest are skipped), but steady rain made every column change every few ticks, so nothing could ever rest. It was the most expensive way to run the world.

Removing it from the game was easy: the HUD bar and the New World dialog now offer Off or Storms. Removing it from the codebase was not, because about 75 tests used steady rain as a convenient way to get rain everywhere. So it stayed in Core as a test fixture, and the game stopped offering it. Not glamorous. Correct.

Stage 2: one body per column

The big structural change was to give every column exactly one span: the air above its top ground. That deleted caves, overhangs, flooded-tunnel pressure and falling water in one go.

Falling water was the interesting one. It used to live in voxels, drop one cell per tick, and pass through a landing limit that capped how fast a face could pour over a ledge. In the audit, that landing step was the single largest phase of a Giant tick (12 of 51 ms, and on one thread). Now, flux over a crest joins the lower body in the same sub-step, and an existing rule (the “overshoot limit”) stops a body from rising above the water feeding it in one step.

The renderer still needs waterfalls, so the engine now publishes a list of “ledge falls” from the faces’ fluxes, and the curtain renderer that already drew water spilling off the world’s rim draws them too:

internal void LedgeFalls(List<LedgeFall> into)
{
    into.Clear();
    foreach (int f in _tfList)
    {
        int a = _fa[f], b = _fb[f], total = _tf[f];
        if (total == 0 || a < 0 || b < 0) continue;
        int from = total > 0 ? a : b, to = total > 0 ? b : a;
        long bottom = Head(to), crest = Crest(f);
        if (bottom + Full >= crest) continue;   // a step of a cell or less is not a fall
        ...
    }
}

Water or sediment that a terrain change leaves stranded below the top ground (lava flowing over a pond, for example) is moved up into the column’s body, so nothing is lost.

This deleted about 400 lines of engine code and around twenty tests: caves filling under lakes, shafts into caves, sealed cavities, Torricelli flow through a hole in a dam, water running off overhangs. It’s a strange feeling to delete a test called ACaveUnderALakeFloodsWithoutWaterRisingAboveTheLakeSurface. Somebody worked hard on that.

The results were modest:

Large Medium, 8 workers (.NET) Before After
Storms, 10 u³/s spring: water ms/tick 1.25 1.05 (−16%)
Soaked (heavy steady rain): water ms/tick 7.49 5.51 (−26%)

Fine. Not the brick we were looking for.

Interlude: the lava cross, and then the lava rocket

While playtesting the water change, the owner sent a screenshot. A volcano on flat ground had spread its lava as a cross of four diamond-shaped lobes with perfectly straight diagonal edges. It looked like a cross-stitch pattern on fire.

The water PR didn’t touch lava, so this was older. Lava flows only to the four side neighbours of a column, and each side tested its own slope against the lava’s yield stress (lava is modelled as a Bingham fluid: below a threshold stress, it doesn’t move). Toward a diagonal neighbour the slope each side sees is √2 times gentler than the real slope, so fronts stopped early on the diagonals. On flat ground that’s a diamond. Around a volcano, a cross of diamonds.

Attempt 1: eight neighbours. Flow to all eight neighbours, diagonals √2 away, each with half a cell’s width. The flat-ground test went from 5.0 u along the axes and 3.5 u along the diagonals to 4.5 and 5.0. Round. But on a slope, flows became about 40% shorter: the big flow on our test slope reached 15 u instead of 23–25. The flux was being split sideways, so a stream spread out and stalled.

Attempt 2: eight neighbours, but sharing the flux by the tenth power of the slope. That kept streams going straight downhill and kept the flat case round. Tests passed. I opened a PR. The owner opened the game and came back with: “The star is gone, but now there’s a lava rocket.”

The screenshot showed a tall glowing column shooting up out of the volcano’s crater. The bug was obvious once seen. In attempt 2 each column’s flux left through one cell’s width, shared among neighbours, instead of through each of its four sides separately. A volcano’s vent pours more lava per second than one cell’s width can carry away, so the vent column just kept stacking up. A rocket.

Attempt 3: four sides, isotropic yield. Keep the original four-sided flux (each side with its own slope, full drainage capacity), and only change what decides whether the lava moves: the stress from the surface’s steepest slope, combined from both axes.

// on each axis the steeper of the drops to the two sides, combined
double steepest = Math.Min(Math.Sqrt(gx * gx + gz * gz), MaxSlope), stress = h * steepest;
if (stress <= yield) return;

Flat ground: 4.5 u along the axes, 4.2 along the diagonals. A new test pins a full-rate vent to under 4 units of height after 30 s (it stands at 3.0). Flows on slopes still run shorter than before (17 u instead of 25 on the test slope), because a flow’s edges now feel the downhill slope as well. That’s physically right for a Bingham fluid, and it’s flagged for tuning if it plays badly. The rocket is gone.

The benchmark that changed the plan

Back to water. The roadmap said the next step was removing the per-cell water copy so the renderer could read columns directly. Before starting that, I ran the actual game on a soaked Large world:

frames:  avg 9.6 ms
tick:    19.7 ms   (water 15.9, erosion 3.7)

The frames were fine, so the renderer was off the hook. The simulation tick was the limit: at 20 ticks per simulated second, a 19.7 ms tick caps fast-forward at about 2.5×. That’s the “brick.”

There was also a strange gap. Headless in .NET, the same water step cost about 5.5 ms. The game ships its Linux build with IL2CPP (C# compiled to C++), and IL2CPP was paying about three times as much.

A two-line fix for a third of the water cost

IL2CPP inserts null checks and array bounds checks on every array access unless you tell it not to. The water engine is essentially one long sequence of array accesses. Unity’s documented way to switch the checks off is an attribute IL2CPP recognises by name, and it works even if you define it yourself, which matters because the Core library doesn’t reference Unity:

namespace Unity.IL2CPP.CompilerServices
{
    internal enum Option { NullChecks = 1, ArrayBoundsChecks = 2, DivideByZeroChecks = 3 }

    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Property,
        Inherited = false, AllowMultiple = true)]
    internal sealed class Il2CppSetOptionAttribute : Attribute
    {
        public Option Option { get; }
        public object Value { get; }
        public Il2CppSetOptionAttribute(Option option, object value) { Option = option; Value = value; }
    }
}
[Il2CppSetOption(Option.NullChecks, false)]
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
internal sealed class ColumnWaterEngine

.NET (the tests) and Mono (the Windows and macOS builds) ignore it and keep their checks, so an indexing bug still fails the test suite.

Soaked Large, Linux player Before After
Whole tick 19.73 ms 14.73 ms
Water step 15.92 ms 10.98 ms (−31%)
Erosion step 3.67 ms 3.62 ms

Erosion didn’t move at all. Its parallel passes are lambdas, which compile into their own nested classes, and those apparently sit outside the attribute. I left that alone.

The GPU question, round one

The owner’s instinct was that the GPU would be the big win, and I agreed. Then I looked at how it would fit, and two problems made it much bigger than I’d said:

  1. Unity only lets the main thread start GPU work, and the simulation had recently been moved onto its own thread.
  2. Erosion reads and changes water and terrain every tick, so either erosion moves to the GPU as well, or the water comes back to the CPU every tick.

So I proposed a cheaper intermediate step: rewrite the CPU engine as a dense 2D grid. With one body per column, spans and linked face lists aren’t needed; a face’s neighbours are just arithmetic. The same update steps would later become GPU kernels. The owner’s answer was practical: “if it’s easier to do the cpu grid first and then the GPU go for it… I don’t care about having it working in the meantime or taking super cautious steps unless necessary.”

Stage 3: the grid engine, and a humbling profile

The grid engine stores, per column, a floor and a water amount, and per face (the −x and −z side of every column, plus the world’s far rim) a velocity, a fractional carry and a flux. Faces at the edge of the world get a “ghost” outside end: no water, standing on the floor of the column inside.

private int FaceX(int x, int z) => z * (_n + 1) + x;   // on the -x side of column (x, z); x in [0, n]
private int FaceZ(int x, int z) => _nx + z * _n + x;   // on the -z side of column (x, z); z in [0, n]

The whole Core test suite passed on the first run, including the recorded water and plant hashes. Bit-for-bit identical results to the old engine. I was very pleased with that.

Then I timed it.

Large Medium Before After
Soaked, 8 workers: water ms/tick 5.62 5.31
Soaked, 1 worker: water ms/tick 30.9 30.6

The linked lists weren’t the cost. This is the same lesson the earlier 0.94× experiment had tried to teach. I added a phase timer and got an honest picture of a single-threaded soaked tick:

face law (the shallow-water update)   ████████████  24%
sediment carried cell by cell         ███████████   22%
overshoot limit                       █████████     18%
publishing flows to per-cell arrays   ██████▌       13%
applying fluxes                       █████▌        11%
everything else                       ██████        12%

No single villain. The cost was spread over many passes, each touching a lot of memory. Two of the biggest slices, though, had “per cell” in their names.

Stage 4: mud as one amount per column

Suspended sediment was stored per voxel, carried through each face’s opening cell by cell, and settled one cell per tick. The owner had wanted to discuss “sediment by depth” before giving it up. The trade, as I explained it: with one load per column, muddy water still clears and still drops its load where the flow slows, but you lose the clear-top, murky-bottom layering, which you can only see from the underwater camera. The owner said yes.

The engine part was clean. A flux of q units out of a body takes the share q / h of its load:

int share = sed == 0 || h == 0 ? 0 : (int)((long)sed * Math.Min(Math.Abs((long)fl), h) / h);

The erosion part needed two attempts.

Attempt 1 gave each column a capacity equal to the sum of its cells’ capacities, which is what the per-cell code looked like it was doing. The test world eroded about as much as before (2.62 vs 2.76 million units) but deposited far less (0.32 vs 0.91 million), and no cells filled with silt. Mud was washing off the map. The old code looked like it gave every wet cell its own capacity, but sediment also sank toward the bed every tick, so in practice a column held about one cell’s worth. The settings’ own description had it right all along: capacity is “a thickness over the bed.”

Attempt 2 used one bed-layer capacity per column. Deposition got closer (0.42 million), and the remaining difference is a real physics change: a well-mixed load settles exponentially, while sinking cell by cell cleared a lake from the top down.

// In series: the bed takes 1 / DepositionRate, and the sediment sinks on average half the depth above the floor cell.
long rate = cells <= 1 ? _deposit : 2L * _deposit * _sink / Math.Max(1, 2L * _sink + (long)_deposit * (cells - 1));

A still lake 16 units deep, with 144,000 units of mud stirred through it, keeps about 5% after two minutes (6,405 units; the formula predicts about 7,700). The old engine had 348 left. The test that checked this now asserts the exponential law instead of the old number.

One bug from this stage deserves a mention because it hid well. A test reported “a settled lake costs nothing” failing with 900 blocks still active. Nine hundred is exactly the number of columns in that test lake. The new code counted every column with water as “work”, even when a still column had nothing to do. The fix was to skip columns that carry no mud and didn’t move.

Soaked Large, water + erosion per tick Before After
8 workers 7.45 ms 5.88 ms (−21%)
1 worker 40.3 ms 31.0 ms (−23%)

Stage 5: the GPU, for real

The GPU prototype was a compute shader with the same face law, the same passes, and one important difference in number types. The CPU engine is all integers (fixed point, 2^24), which is what makes it deterministic. The GPU version does the velocity arithmetic in floats, but keeps water, sediment and fluxes as whole units:

float total = exact + rem0;
float whole = floor(total);
_NF[f] = (int)whole;
_State[f] = int2(min(Fixed(total - whole), 16777215), zf);

Since every unit of water that leaves one column arrives in another as the same integer, water is conserved exactly even though the speeds are floating point. The owner had already agreed that results may differ between the CPU and GPU, and between graphics cards.

The first measurement, on a soaked Large world, from the same starting state:

  ms per tick
CPU engine (IL2CPP, 8 threads) 5.22
GPU, ticks queued back to back 0.42
GPU, one tick plus waiting for its read-back 0.74

After 30 simulated seconds the two water surfaces differed by 0.000 u on average and 0.02 u at most, across all 65,536 columns. Water was conserved to the unit. I’ll admit I enjoyed writing that number down.

Then I tried to put it in the game.

Integration attempt 1: barely faster

The first integration ran the GPU sub-steps inside each tick: upload the columns, dispatch, read back, merge. GPU water came in at 4.80 ms per tick against 5.21 on the CPU. The 12× was gone. Timing every part showed why:

  • the GPU step with upload and read-back: 2.33 ms
  • publishing flows to the per-cell arrays: 1.35 ms
  • copying water into the cell grid: 0.64 ms

Running the GPU step back to back with nothing else around it, the kernels took 0.86 ms per tick and the read-back about as much again. The prototype had dodged both, because it read back one buffer instead of four and had fewer kernels.

Integration attempt 2: pipelining, and a missing flush

The obvious fix is to stop waiting: start the GPU work, let the CPU carry on with the rest of the tick, and collect the result at the start of the next one. Anything the CPU changed in the meantime (sinks, erosion, edits, the next tick’s rain) gets merged onto the GPU’s result:

// result from the GPU + (what the column holds now − what it held when the GPU started)
int h = water[c] + _h[c] - w0[c], sed = sediment[c] + _sed[c] - s0[c];

It didn’t help. The collect still waited 1.8 ms, even with 2.5 ms of CPU work between dispatch and collect. Unity was holding the GPU commands in its queue until something forced them out, and that something was the collect. One line:

GL.Flush(); // send the work to the GPU now, so it runs while the CPU goes on with the tick

The wait dropped to 0.65 ms, and GPU water reached 4.06 ms per tick against 5.45. Better, still not exciting.

Integration attempt 3: the game disagrees

Since Unity only starts GPU work from the main thread, this version ran the ticks on the main thread. In the standalone comparison it looked fine. In the actual game, on a soaked Large world at 8× requested speed:

  CPU water GPU water
Speed achieved 4.25× 1.65×
Water per tick 7.3 ms 20.6 ms
GPU time per frame 6.4 ms 30 ms

GPU water made the game two and a half times slower. The compute work was going into the same queue as the frame’s rendering, so collecting a tick’s results meant waiting for the frame before it to finish drawing. Every tick was now paying for a frame.

This was the moment to stop tinkering and change the design.

Integration attempt 4: batches, once a frame

The design that worked turns the relationship around. A tick no longer does any GPU work at all; it just queues its water steps:

public void Queue() => _queued++;

Ticks go back to the simulation thread. Once a frame, during the short window when the simulation thread hands over to the main thread, the main thread sends every queued water tick to the GPU as one batch, and collects the previous batch if the GPU has finished it. Writing water into the cell grid and publishing flows now happens once per batch instead of every tick.

First run in the game, soaked Large, 8× requested: 7.99× achieved, 2.44 ms per tick against 8.92 on the CPU, frames about the same as the CPU version. Water conserved.

Sediment, however, ended up exactly 65,536 units too high. That number is a tell: it’s 2^16, a ushort wrapping around. Somewhere a column’s sediment had gone to −1 and been stored as 65,535.

The cause was a race. While a batch runs on the GPU, the CPU keeps ticking. If erosion settles a column’s mud on the CPU while the GPU carries the same mud downstream, the merge subtracts it twice and the column goes negative. Clamping would break conservation. The fix takes the shortfall back from the neighbouring columns, which is where the GPU had just sent the stuff:

// Column c was overdrawn by the merge: while the solver moved its water or sediment away, something on the CPU (a sink,
// evaporation, erosion settling) took the same units. The shortfall is taken back from the columns the solver's flow
// went to, in the order of its faces and then breadth first, so nothing is lost or made.
private void Overdrawn(int c)

The same run at 32× requested found the next problem: one tick took 9.4 seconds. Nothing limited how far the simulation could get ahead of the GPU, so the queue grew until one enormous batch ran. The fix is backpressure: a simulation batch ends once 8 water ticks are waiting for the GPU.

while ((ticks == 0 || !_windowWanted && ElapsedMs(start) + _recentTickMs * 0.5 < MaxBatchMs
        && (_gpuWater == null || _gpuWater.Queued < GpuWaterSolver.MaxQueued)) && _clock.TryTakeStep())

A save-and-load test turned up one more: a couple of “read-back failed” exceptions at the moment the benchmark started. That’s when it changes frame settings, which on Vulkan probably recreates the swap chain and drops pending read-backs. The results are still sitting in the GPU buffers, so the solver now just reads them again, and if that fails too it runs those ticks again.

Stage 6: getting the CPU out of the GPU’s way

On Giant, the speedup was big but the frames were heavy:

Soaked Giant, 8× requested CPU water GPU water
Speed achieved 0.59× 2.26×
Tick 38.7 ms (water 32.0) 7.4 ms (water 3.9)
Frames, typical / slowest 5% 42 / 48 ms 43 / 79 ms

On the CPU, a soaked Giant world couldn’t keep up with real time even at 1×. On the GPU it ran at better than 2×, but it hitched. Merging the results, writing the cells and publishing flows took about 10 ms per batch, all on the main thread, inside the frame.

Two changes fixed most of that:

  1. In GPU mode, the cell grid is written once per batch, not after every tick (Giant GPU water: 7.31 → 5.08 ms per tick).
  2. The main thread now only copies the GPU’s results out. The merge runs at the start of the simulation thread’s next tick, on its worker threads. To keep one batch per frame, the next batch starts straight away from the GPU’s own results plus what the CPU changed since, through a small kernel:
// The CPU's changes since the batch before started, onto the GPU's results of it: the columns as the CPU will merge them.
[numthreads(GROUP, 1, 1)]
void AddDelta(uint3 id : SV_DispatchThreadID)
{
    int c = (int)id.x;
    if (c >= _Columns) return;
    _H[c] += _DeltaH[c];
    _Sed[c] += _DeltaSed[c];
}

There was one false alarm at this stage. The comparison tool reported that the GPU Giant world held 16% more water than the CPU world. That’s the kind of number that ruins an evening. It turned out the tool itself was at fault: its extra timing runs had advanced the GPU world about 100 more ticks than the CPU world. Compared at the same tick, the two agree within 0.07% on volume (16,801 vs 16,812 u³ on Large), with outflow within 10 u³ out of 16,000 and surfaces 0.005 u apart on average.

Where it ended up

Final runs, soaked worlds, Medium detail, water and sediment conserved in every run:

World Requested CPU water GPU water
Large 8× 4.18× 7.98×
Large 32× ~4.2× 11.25×
Giant 8× 0.59× 2.53×
Achieved speed, soaked Large at 32× requested

CPU  ████████▌                       ~4.2×
GPU  ██████████████████████▌         11.25×

The water step on a soaked Large world, through the whole process, in the Linux player:

start of the round             ████████████████  15.9 ms
IL2CPP checks off              ███████████       11.0 ms
CPU, after the grid/sediment   ███████▍           7.3 ms
GPU, batched once a frame      █▏                 1.1 ms

(Each stage was measured on its own benchmark run, and the earlier ones ran on a slightly different scene, so treat this as the shape of the change, not a precise series.)

Giant is now limited by the GPU itself: about 33 ms of GPU time per frame, roughly 19 ms of which is rendering the world, and the water kernels take about 2.9 ms per tick on top. On the CPU side, the merge and cell writes now run off the main thread.

What we gave up, plainly

  • Caves and tunnels. Water only stands on a column’s top ground. The owner had no plans for caves, so this cost nothing in play, but it closes a door.
  • Simulated falling water. Falls are drawn from flux data now. Water that goes over a ledge arrives in the same sub-step.
  • Mud by depth. One load per column. Lakes clear exponentially, so a little faint mud lingers longer than it used to.
  • Bit-for-bit determinism, in GPU mode. The CPU engine is still fully deterministic, and the automated tests run on it. GPU results differ slightly from the CPU’s, between graphics cards, and with how ticks fall into batches, which depends on frame timing.
  • Immediate water. In GPU mode, erosion, plants and the renderer see the water’s flow a frame or two after the ticks that queued it.

What I’d tell myself at the start

Profile before restructuring. Twice in this project a representation change I was confident about delivered almost nothing (the grid engine at about 5%, the earlier experiment at 0.94×–1.23×). Both times the cost was memory traffic spread over many passes, and a different data structure didn’t change how much memory got touched.

Measure in the real program. The GPU solver was 12× faster in isolation and 2.5× slower in the game on its first integration. Isolated benchmarks don’t share a queue with the renderer.

Let the owner decide the trade-offs. The single most productive thing in the whole round was a list of what the water does and a short conversation about which parts mattered. “No caves” removed more code and more cost than any optimisation I wrote.

Distrust round numbers that are powers of two. 65,536 units of sediment appearing from nowhere is never physics.

Write down the tests you delete, and why. About twenty water tests went away in this round. Each one described behaviour that no longer exists, and the PRs list them by name.

What’s left

The tracker still has a to-do list:

  • the owner’s playtest of the GPU version, then merging it
  • three entries for the project’s decisions file: one body per column, determinism on the CPU engine only, the GPU used when available
  • Giant’s frame rate: cheaper water kernels, and a look at Giant’s rendering cost
  • storing flow speeds per column instead of per cell (those arrays are about 100 MB on Giant, almost all of it empty)
  • testing the GPU path on Windows (Direct3D 11) and macOS (Metal), which hasn’t happened yet
  • a short automated check of GPU mode, since the smoke test runs the CPU engine
  • and three ideas parked for later: a water grid whose resolution doesn’t follow the world’s detail setting, rain on land as soil moisture instead of simulated water, and water and lava as two layers of one fluid

As of writing, the GPU build is waiting for its first proper playtest, with a dam break over lava at the top of the list of things to try. Those rapids were the one thing the owner asked me not to lose. I’ll find out tomorrow whether it feels as good as the numbers say.