Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented sRGB support in ShaderSets and default format for colour framebuffer #1374

Merged
merged 27 commits into from
Jan 24, 2025

Conversation

robertosfield
Copy link
Collaborator

No description provided.

AnyOldName3 and others added 27 commits January 16, 2025 09:46
We were already telling the implementation to interpret it as if it were sRGB via VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, but with the image format as UNORM rather than SRGB, we'd have to explicitly convert before emitting the colour from the shader, even though that makes blending wrong.
… linearRGB and sRGB.

Updated built-in ShaderSets.
…e able to rely upon sRGB format setting where appropriate in vsgXchange
…xture(const std::string& name, const ImageInfoList& imageInfoList, uint32_t dstArrayElement)
@robertosfield robertosfield merged commit 49f7a6d into master Jan 24, 2025
16 checks passed
@robertosfield robertosfield deleted the ColorSpace3 branch January 31, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants