Skip to content

Stage-level colorspace keyword for shaders #1721

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

slipher
Copy link
Member

@slipher slipher commented Aug 1, 2025

Implement stage-level colorspace keyword as described in #1717 (comment)

Also add a warning if some shaders are loaded too early before the colorspace is known.

slipher added 2 commits August 1, 2025 18:16
Since the necessity of sRGB conversions is not known.
Allows making conditional stages that depend on whether naive or linear
blending is used.
@slipher slipher changed the title Stage colorspace Stage-level colorspace keyword for shaders Aug 1, 2025
@slipher
Copy link
Member Author

slipher commented Aug 3, 2025

Maybe I should add "if" to the keyword name to make it clearer that it is for conditional stages. Like ifBlendspace linear.

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.

1 participant