mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 02:58:11 +08:00
New node: Color Overlay (#1391)
* [wip]feat: implement Color Overlay node's base logic * [wip]feat: attempt implementing node * feat: implement naive node logic - this needs to accommodate coloring the image * [wip]feat: attempt implementing ColorFillNode * fix: color fill node implementation path * Simplify document node definition * [wip]feat: implement ColorFillNode - correct the node implementation logic -[wip]use node in Color Overlay node network * Remove secondary image input * chore: perform cleanup and minor optimization - rename ColorFillNode node to Color Fill - remove unneeded clone method call * refactor: optimize node logic and hide optional params * fix: color fill implementation - fix broken color fill implementation logic - add alpha multiplication data to the image * Fix colour overlay node * Blend mode * chore: remove unused import * Debug logging for overlay * Use premultiplied alpha * Comment out logging * Code review nits * Remove color debug logging --------- Co-authored-by: Dennis Kobert <dennis@kobert.dev> Co-authored-by: 0hypercube <0hypercube@gmail.com> Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
Dennis Kobert
0hypercube
Keavon Chambers
parent
81a7c2dfcf
commit
a2db95d18b
@@ -31,6 +31,7 @@ bytemuck = { version = "1.8", features = ["derive"] }
|
||||
async-trait = { version = "0.1", optional = true }
|
||||
serde = { version = "1.0", features = [
|
||||
"derive",
|
||||
"rc"
|
||||
], optional = true, default-features = false }
|
||||
log = { version = "0.4", optional = true }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user