frontend: Rename blending method labels - #13790
Open
SoprachevAK wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Renames the blending method labels to describe their actual behavior:
Defaultis renamed toLinear.SRGB Offis renamed toNonlinear.This is a UI-only terminology change. It does not modify rendering behavior, internal enum values, or serialized scene collection values.
The internal enum names (
OBS_BLEND_METHOD_DEFAULTandOBS_BLEND_METHOD_SRGB_OFF) and serialized values are intentionally left unchanged. These names describe implementation-level render behavior and remain appropriate in code, while the new UI labels describe the result selected by the user. Keeping the identifiers unchanged also avoids unnecessary API and scene collection compatibility changes.Motivation and Context
The existing labels describe implementation details rather than the behavior users select.
Defaultdoes not indicate that colors are blended in linear-light space.SRGB Offcan also suggest that sRGB itself is disabled. In practice, that option disables linear-sRGB processing for the blending operation, causing encoded color values to be blended in nonlinear space. The color data does not stop being sRGB.LinearandNonlineardescribe the observable blending behavior directly and avoid exposing an implementation-specific toggle in the UI.How Has This Been Tested?
Manually tested on macOS 26.5.2:
LinearandNonlinear.The change only modifies English localization strings. Rendering and serialization code paths are unchanged.
Types of changes
Checklist: