Table of Contents

Staged GPU Uploads


Staged GPU Uploads batch each revealer's GPU data and upload it all at once at the end of the frame, instead of uploading per-revealer as each one is calculated. This reduces GPU upload overhead when many revealers update in a frame.

Settings

On the Fog Of War World component:

Property Type Default Description
Use Staged GPU Uploads bool true Defer revealer GPU uploads to the end of the frame and submit them in one batch.
Scatter Revealers Shader ComputeShader (assigned) The compute shader that scatters staged revealer data on the GPU.
Important

When Use Staged GPU Uploads is enabled, the Scatter Revealers Shader must be assigned. If it isn't, the system logs a warning and falls back to the slower per-revealer upload path. The shader is assigned by default — only worry about this if you cleared the field.

You can toggle staged uploads at runtime with ToggleStagedUploads.