Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit5597fb7c06

README.md

probegi_clock

The first pass of every frame the probe field updates on: one invocation moves the field's clock on by a frame. From the frame's clock (@frame.clock) and the state it keeps in clock_state, it writes the rows of the field's parameter buffer that move from frame to frame: the frame index and the frame scale, the rotation the frame's rays turn by, the update turn, each cascade's elapsed times and the cells its origin moved, and whether the frame wakes every probe. The field's member writes the buffer only when its settings, its cascades' origins or its cap change, so its passes stand from frame to frame.

A second view drawn in the same frame finds the frame index it already took and marks the frame as a repeat (row 30 x of probe_gi_common), and the passes that update the field leave it as the first view left it.