1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-07 19:09:50 +00:00
Pixelorama/src/UI/Nodes
Emmanouil Papadeas 201992fa72 Add multi-color support for gradients, remove step gradients
Gradients are no longer limited to two colors, but can now instead have as many as we want, with each color having its own offset. Step gradients have now been removed; to generate the same effect, you can now generate a linear gradient with constant interpolation. Cubic interpolation in gradients is now also possible.

The dithering shaders were by far the biggest challenge and they had to be re-written in order for them to support multiple colors, with each one having a difference offset. I have noticed that some colors may disappear when Constant interpolation is used, though, so it can be buggy sometimes. Thanks to https://godotshaders.com/shader/dither-gradient-shader/ for the reference.

ValueSliders are now also used in the gradient window.
2023-01-27 04:23:48 +02:00
..
CollapsibleContainer.gd Create ValueSlider and CollapsibleContainer child nodes through code 2023-01-13 05:19:35 +02:00
CollapsibleContainer.tscn Create ValueSlider and CollapsibleContainer child nodes through code 2023-01-13 05:19:35 +02:00
GradientEdit.gd Add multi-color support for gradients, remove step gradients 2023-01-27 04:23:48 +02:00
GradientEdit.tscn Folders rearrangement (#804) 2023-01-05 17:54:22 +02:00
NotificationLabel.gd Remove NotificationLabel.tscn, use class_name for notification labels 2023-01-15 17:08:42 +02:00
TransparentChecker.gd Folders rearrangement (#804) 2023-01-05 17:54:22 +02:00
TransparentChecker.tscn Folders rearrangement (#804) 2023-01-05 17:54:22 +02:00
ValueSlider.gd Create ValueSlider and CollapsibleContainer child nodes through code 2023-01-13 05:19:35 +02:00
ValueSlider.tscn Create ValueSlider and CollapsibleContainer child nodes through code 2023-01-13 05:19:35 +02:00