slembcke on Nostr: Graphics Mastodon: Is it possible to have an sRGB default framebuffer in WebGL2? ...
Graphics Mastodon: Is it possible to have an sRGB default framebuffer in WebGL2? (Replacement for glEnable(GL_FRAMEBUFFER_SRGB))
I'm seeing a references that you can have sRGB framebuffer objects in WebGL2. BUT then a lot of discussions that the default framebuffer is always linear, and you must render offscreen and blit. Which... Blegh. It's super unclear though.
Published at
2026-04-10 00:52:31 UTCEvent JSON
{
"id": "8a3d796b357d4d2990d5c9764286c34952f48c4e6eabd0000ae5069844868d57",
"pubkey": "a91da14fbf7177ee0f2cb78aa3f94169bff6b6c3c61202bd4dd308764fc36190",
"created_at": 1775782351,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/users/slembcke/statuses/116377672156697824",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "Graphics Mastodon: Is it possible to have an sRGB default framebuffer in WebGL2? (Replacement for glEnable(GL_FRAMEBUFFER_SRGB))\n\nI'm seeing a references that you can have sRGB framebuffer objects in WebGL2. BUT then a lot of discussions that the default framebuffer is always linear, and you must render offscreen and blit. Which... Blegh. It's super unclear though.",
"sig": "8a5d3142aeae16daec2009a522765df819833bc015368aeea020dceeed6a68d04fc38f4aea44b2511e8a3935bdfa30fb44d5b46913b0d7746eb433957e4313f9"
}