← FIELD NOTES / ENGINE DEVELOPMENT

The smoke changed when the camera turned

A camera rotation exposed a lighting problem in Asgard. The same playtest sent me back through the frame budget, construction preview and the simulation’s record of paid research.

Structures and turrets inside a blue dome with burning wrecks and mountains beyond the perimeter.
Smoke rises near an Alpine citadel in Break the Line, before the December lighting pass.
01

Hold the fire still and move the camera

Take a burning wreck and turn the camera around it. The fire has the same fuel, and the sun is still in the same place. Yet the cloud can look as if someone has reached in and changed the lighting. In Rampart Zero, where you spend a lot of time pulling back, turning and diving back toward the ground, a mistake like that is easy to see once you know where to look.

The smoke is drawn on flat cards that turn to face the camera. That’s a practical way to make a plume from a collection of moving particles. The cards also carried a lighting calculation that depended too heavily on their orientation. Turn the view and you turn the surface the shader uses to work out how the sun lights the smoke. I moved the bulk of that lighting onto a stable reference in the world and kept the edge lighting restrained. Fire and embers also hold on to more of their own color through the haze.

Once the light stopped shifting with the camera, I could make the art decision about the smoke itself. The follow-up made the clouds a little smaller and thinner, raised the default exposure and pulled back the aerial haze. Battles still need smoke that hangs over a wreck. They also need enough daylight between the wreck, the units passing it and whatever is still firing.

02

A slow frame can be an expensive misdiagnosis

The hardware profiles gave Asgard and the game a way to choose how much work to ask of a machine. The next problem was deciding when to intervene. The earlier governor could see a rough patch, move down several steps, then return to the original setting and repeat. In a battle, that means the image can change around the player even after the original spike has gone.

The revised governor waits for sustained frame pressure and first trims the resolution of the 3D scene in small steps. It measures the result using the same frame-time criteria that prompted the change. Returning to a higher setting takes longer, especially if a previous attempt brought the problem back. The profile, preset and current adaptive setting now sit together in the Render tab, so there is a place to see what the system chose and change it.

03

A preview should describe the order you’re about to give

The construction grid raised a different version of the same problem. Buildings of different widths need different centers if their outside edges are to line up on the same grid. A hologram that looks centered on a grid point can imply an edge that isn’t where the footprint will end. The new preview snaps with the footprint in mind and outlines occupied ground, so it can point to the building that is actually in the way.

Paid research needed a similar agreement across the interface and simulation. Destroying or selling a Research Lab now causes the simulation itself to suspend its paid progress. Queued work can move to another lab or wait for one to be rebuilt. When the game shows a percentage beside paused research, it is reporting work that the simulation has kept. Reopening a panel or replacing a building has no responsibility for reconstructing that progress.

04

What the playtest put in the same room

The development checks covered Metal and the browser rendering paths, and a WebGPU playthrough of construction exercised aligned footprints, rejection feedback and click-to-deselect. Native simulation tests covered research interruption and resumption. The later smoke and lighting defaults got their own renderer checks and web test run.

A plume keeping its color through a camera turn and a lab keeping its progress through an attack are very different engineering problems. They show up in the same minutes of play. I want to be able to turn the camera, lose a building and make the next decision without having to work out which part of the software I’m looking at.

Explore the game The Rampart Zero Field Report
Read the history of Asgard Tveir Subscribe to Field Notes via RSS