07-11-2020 03:23 AM
07-23-2020 11:57 AM
08-06-2020 05:35 AM
02-21-2024 08:19 PM
Both RGB and sRGB app will show brighter images on the screen. but if you use GL(glDisable(GL_FRAMEBUFFER_SRGB_EXT)) for sRGB app, it will be correct on the screen.
As for RGB app, I found nothing helpful except do gamma correction manually in app side.
02-21-2024 08:34 PM
In their sample code like xrPassthroughGl.app, the descripted that:
// This app was originally written with the presumption that// its swapchains and compositor front buffer were RGB.// In order to have the colors the same now that its compositing// to an sRGB front buffer, we have to write to an sRGB swapchain// but with the linear->sRGB conversion disabled on write.GL(glDisable(GL_FRAMEBUFFER_SRGB_EXT));
Does this mean that RGB swapchain is not supported currently, because we have to write to an sRGB swapchain.