A playtest in the daytime forest ran at 24 to 29 frames a second. Measured alone on the main test machine at that noon view, a frame took 34.4 to 35.5 ms, and 79 percent of it went to drawing the forest’s trees and plants into the sun’s shadow, the depth pass and the main pass.

Two wastes were found. The engine skipped only what was outside the view, so every tree, bush and plant behind a trunk, a boulder or a rise was still drawn in full; the graphics card now also skips what was hidden in the last frame. And the small blueberry bush, about 1,800 of them in that view, was drawn with all 19,244 triangles at any distance, 30 percent of every triangle on screen; it got levels of detail down to 257 triangles, and within about 12 m it is the same mesh. The frame went to 25.8 ms, about 38.8 frames a second, and still frames with and without the culling differed no more than two frames without it.

Half of what was left was the sun’s shadow: every card of every crown was drawn into the shadow map every frame, because the sun moves every frame. Trees now cast their shadow from a hidden copy of their own full-detail shape that sways with them, which the engine can cull. On a second, slower test machine the sun’s shadows went from 27.8 to 17.1 ms.

That afternoon the copies were switched off for a few hours because frames looked darker. They were then measured against the true shadow, every tree casting at full detail: the old shadows were 3.1 to 3.2 gray levels from the truth, the copies 1.5 to 1.6, against 1.2 between two identical true frames. The copies were closer to the real shadow than what had shipped, so they went back on.

Frame time at the noon forest view

Main test machine, whole frame

  • Before34.4 to 35.5 ms
  • After25.8 ms

Second test machine, sun shadows

  • Before27.8 ms
  • Shadow copies17.1 ms
Diagram · Measured in the game at one noon forest view on two test machines, November 17.

Two smaller savings went in too. Animals past 25 m are posed at a rate set by their size on screen, and those past 50 m that are out of view not at all, about 1.0 ms less work a frame on average (the horse is untouched). The quick relight after a fast turn became a fixed 0.22 s instead of a fixed share of each frame, which matters from about 40 frames a second up.