scenery
scenery copied to clipboard
SceneryContext: Fix flickering issue when BVV LUTs update
This PR:
- fixes an issue where the volume rendering would flicker whenever the BVV LUT was updated, which is quite annoying
- this fix double-buffers the LUT and waits for it to become available on the GPU before replacing the old one, fixing the flickering issue