Closed hasenbanck closed 4 weeks ago
I noticed that the copy of the picker texture to the buffer took 1/3 of the whole frame time:
I re-wrote the picker value selection to select the value via a compute shader, which in turn takes only around 10 μs.
The reading is around 13,000 times faster now (for a 4k picker buffer on a 4080).
I noticed that the copy of the picker texture to the buffer took 1/3 of the whole frame time:
I re-wrote the picker value selection to select the value via a compute shader, which in turn takes only around 10 μs.
The reading is around 13,000 times faster now (for a 4k picker buffer on a 4080).