Skip to content

feat(blend): add Greater blend mode - #23

Open
Zorienu wants to merge 5 commits into
artcraft-android:mainfrom
Zorienu:add-greater-blend-mode
Open

Zorienu wants to merge 5 commits into
artcraft-android:mainfrom
Zorienu:add-greater-blend-mode

Conversation

@Zorienu

@Zorienu Zorienu commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Adds Greater mode to layers and brushes.

  • New BlendMode::Greater (id 30) in the layer menu and Brush Studio.
  • Alpha is the greater of the two layers; their straight colours are mixed by
    how much alpha each side brings — not a hard switch from one to the other.
  • Exports to Procreate and PSD as Normal, since neither format has an equivalent.
  • Adds the blend glyph (blend-greater) and its style-guide entry.
  • Fixes the brush blend clamp so 30 is no longer truncated to 29 (Behind).

Verified with the headless GPU layer tests; cargo check -p procraft-desktop
and clippy pass.

greater-demo.mp4

@bearinmindcat

Copy link
Copy Markdown
Contributor

I'll have to come back to it, I think this is a good feature, I just don't know about the licencing due to this being from Krita. Maybe I can rewrite this a bit to better fit the licencing.

@Zorienu

Zorienu commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

I'll have to come back to it, I think this is a good feature, I just don't know about the licencing due to this being from Krita. Maybe I can rewrite this a bit to better fit the licencing.

@bearinmindcat I commited 61a87c7 with a different implementation

@Zorienu
Zorienu force-pushed the add-greater-blend-mode branch from 61a87c7 to fef56a7 Compare November 5, 2026 23:37
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