1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00
A free & open-source 2D sprite editor, made with the Godot Engine! Available on Windows, Linux, macOS and the Web! https://orama-interactive.itch.io/pixelorama
Find a file
Emmanouil Papadeas cf926942ac
Shader-based gradients (#677)
* Add 6 shader-based gradient types

* Shaders now respect selection

* Fix step gradient

* Remove comments

* Disable step and dithering shaders in Web version

* Fixed a weird bug with dithering shaders, selection and GLES2

Having a selection, applying a dithering gradient, removing the selection and then going to the gradient dialog again causes the dithering shaders to "remember" the previous selection, even if there is no selection currently. This only happens with the two dithering shaders and only with the GLES2 renderer. Removing `uniform sampler2D dither_texture;` from the shader code seems to fix the issue, but that's obviously isn't what we want so a "proper" fix is included in this commit.

* Format & lint

* Removed old gradient code

* Change how centers work on radial step and dithering

* Made angle, center and radius option a bit more clear

* Rename bayer-matrices directory to dither-matrices

* Use DitherMatrix class

* Create dithering types programmatically

* Remove unneeded code in shaders

* Rewrite the step shader without a for loop

More optimized and works on the Web version with GLES2

* Rewrite radial step and dithering shaders without for loop

Now all shaders work on the Web version and have been optimized.

* Fix Linear & Radial size range and remove some unneeded lines

* Added size uniform to Radial Step and Radial Dither

* Swap colors in the Linear gradient

* Make size a percentage

* Make the preview look the same as the result

Didn't change the dithering shaders because they seemed to give different results.

* Remove ratio uniform and divide uvs by the radius instead

This makes more sense because the smaller the number, the smaller the radius.

* Fix linear gradient

* Change Position to percentage and "Size" to "Transition size"

* Mix gradients with original color, if the gradient colors have transparency
2022-05-02 16:12:00 +03:00
.github Update tags to 0.10 2022-04-14 18:32:39 +03:00
addons Fix formatting 2022-04-22 15:42:36 +03:00
assets Shader-based gradients (#677) 2022-05-02 16:12:00 +03:00
installer Update tags to 0.10 2022-04-14 18:32:39 +03:00
Misc Update tags to 0.10 2022-04-14 18:32:39 +03:00
pixelorama_data Update Monochromatic.tres 2022-01-14 18:02:16 +02:00
src Shader-based gradients (#677) 2022-05-02 16:12:00 +03:00
Translations New Crowdin updates (#668) 2022-04-15 15:37:29 +03:00
.gdlintrc Disable no-else-return and no-elif-return linter checks 2022-04-22 20:41:43 +03:00
.gitattributes Initial commit 2019-08-18 12:28:38 +03:00
.gitignore Minor changes that make Pixelorama work with Android 2021-10-02 15:08:58 +03:00
.gitmodules Add gif export plugin and extend export dialog with GIF animation support. 2020-04-06 18:51:47 +02:00
CHANGELOG.md Update tags to 0.10 2022-04-14 18:32:39 +03:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-05-21 16:57:41 -07:00
crowdin.yml Update Crowdin configuration file 2020-08-09 23:48:23 +03:00
export_presets.cfg Update export_presets.cfg 2022-04-13 02:07:13 +03:00
LICENSE Update copyright statements to present 2021-01-03 21:03:20 +02:00
project.godot Added shortcuts (#673) 2022-04-27 15:03:39 +03:00
README.md [skip ci] Update README.md 2022-03-13 21:16:09 +02:00

Pixelorama - your free and open-source sprite editor!

Made by Orama Interactive with the Godot Engine, written in GDScript!

Build Passing Build Passing Code Size Repository size License

Downloads Discord Chat Crowdin Localized % Mentioned in Awesome Godot

Pixelorama's UI

Join our Discord community server where we can discuss about Pixelorama and all our other projects! https://discord.gg/GTMtr8s

If you like, consider helping us by sponsoring this project! It would enable us to focus more on Pixelorama, and make more projects in the future!

Become a Patron!

Download

Stable versions:

You can also find early access builds in the GitHub Actions page. There's also a Web version available. Keep in mind that these versions will have bugs and are unstable. Unless you're interested in testing the main branch of Pixelorama, it's recommended that you stick to a stable version.

Documentation

You can find Online Documentation for Pixelorama here: https://orama-interactive.github.io/Pixelorama-Docs

It's still work in progress so there are some pages missing. If you want to contribute, you can do so in Pixelorama-Docs' GitHub Repository.

Cloning Instructions

Pixelorama uses Godot 3.4, so you will need to have it in order to run the project. Older versions may not work. As of right now, most of the code is written using GDScript, so the mono version of Godot is not required, but Pixelorama should also work with it.

Current features as of version v0.9:

  • 16 different tools to help you draw, which you can map to both of your left and right mouse buttons.
  • Are you an animator? Pixelorama has its own animation timeline just for you! You can work at an individual cel level, where each cel refers to a unique layer and frame. Supports onion skinning, cel linking, motion drawing and frame grouping with tags.
  • Different tool options for each of the mouse buttons.
  • Custom brushes, including random brushes.
  • Create or import custom palettes.
  • Pattern filling! Use the bucket tool to fill out an area with a pattern of your choosing.
  • Import images and edit them inside Pixelorama. If you import multiple files, they will be added as individual animation frames. Importing spritesheets is also supported.
  • Export your gorgeous art as PNG or GIF files. Exporting your projects as spritesheets is also possible.
  • Pixel perfect mode for perfect lines, for the pencil, eraser & lighten/darken tools.
  • Autosave support, with data recovery in case of a software crash.
  • Horizontal & vertical mirrored drawing.
  • Tile Mode for pattern creation.
  • Rulers and guides.
  • Rectangular & isometric grid types.
  • Scale, crop, rotate, flip, color invert, HSV-adjust, desaturate and generate outlines and gradients in your images!
  • Multi-language localization support! See our Crowdin page for more details.

Special thanks to