-
-
Notifications
You must be signed in to change notification settings - Fork 51
Description
I am working in a team where we have a scientific visualisation code where we sometimes choose to render to rgba16float to make an HDR interface. (We realise color space and tone mapping is a work in progress, but in practice it works just fine for our use case.)
Previously we were using wgpu 0.15 and this would work either for onscreen or offscreen canvases. On updating to 0.21, we can still do this onscreen but when offscreen we fall over due to a check against the capabilities of the device. On investigation, it seems like these capabilities are actually hard-coded for offscreen canvases. The main purpose of rendering offscreen is for testing, so we are in a position where the intended functionality actually continues to work but we can't test it.
I am sure we can hack around this, but is there any accepted/correct approach?
Many thanks indeed for any guidance/hints, and also for this excellent package.