Comment by garaetjjte
5 years ago
For OpenGL, it will perform conversions automatically when sampling from texture with SRGB type, and opposite when writing to SRGB rendertarget (on desktop GL_FRAMEBUFFER_SRGB also needs to be enabled). I guess other APIs have similiar features.
No comments yet
Contribute on Hacker News ↗