Reading history

This visualizes a rolling history framebuffer. The grey circle illustrates history buffer access with historyZ. The yellow, red, and blue circles show direct access through static indices.

As you can see from the colored circles, accessing a static index will produce the same image until the buffer rolls over and overwrites it. For smooth, “N frames ago” access, use historyZ.

View source