Gloom: Evaluate frame brightness on the GPU
Copying pixels back to host memory is a good way to stall the GPU.
Further improvement could be to run a separate shader to calculatethe overall exposure value, so that wouldn't be recalculated per pixel.
View differences
Gloom: Evaluate frame brightness on the GPU
Copying pixels back to host memory is a good way to stall the GPU.
Further improvement could be to run a separate shader to calculate
the overall exposure value, so that wouldn't be recalculated per pixel.