Replies: 4 comments
-
Oh yes that would be lovely. |
Beta Was this translation helpful? Give feedback.
-
Hi folks, Coming from this, #557 (review), I'd be willing to contribute to the development of this feature. The desaturated image effect could be considered the default gradient map with two colors, black and white and smooth interpolation. So either desaturation could be replaced by a gradient map, or could be the template for a gradient map's development. Unfortunately, I know next-to-nothing about creating and editing dialogs in Godot's UI system, so I just wrote the shader and hard-coded some inputs to make this example. https://github.com/behreajj/Pixelorama/blob/gradient-map-382/src/Shaders/Desaturate.shader The test image comes from Wikipedia: https://en.wikipedia.org/wiki/File:Judith_Beheading_Holofernes_-_Caravaggio.jpg . Best, |
Beta Was this translation helpful? Give feedback.
-
I made a gradient map shader that seems to produce the same result as the video. I tested other colors and compared it to Krita's gradient map and the results seem to be the same, although I'm not sure about alpha. The shader is very simple, barely 10 lines of code (without the selection-related mask code), because it uses a GradientTexture as a uniform sampler 2D. The biggest issue would be to make a proper gradient editor UI in Pixelorama that supports multiple colors and offsets.
|
Beta Was this translation helpful? Give feedback.
-
I implemented the gradient map dialog in c9f0301, it should work fine but testing and feedback is welcome. Massive thanks to Material Maker for the original gradient edit code, which I modified. 2022-06-10.00-15-25.mp4 |
Beta Was this translation helpful? Give feedback.
-
I've been currently thinking that I would love to try to make pixel art first starting with a grey scale image and then colouring it.
This workflow has been used a lot by Brandon James Greer on Youtube and shown in this video.
I think that these two features would be really neat to have in the future:
Beta Was this translation helpful? Give feedback.
All reactions