Devadex

Eye Dropper - Palette swapper shader

godot   Free   by nadjiel
GDScript

Eye Dropper is a shader (GDShader) that helps with quick color palette swapping easily customizable through shader parameters. This shader is a canvas_item type of shader that was meant, at least initially, to be used with CanvasItems nodes in Godot. Contributions are welcome to make a 3D version (To contribute, visit the GitHub repository, available in this page). With this shader, you can configure your palettes through textures or through color arrays, or even use both options, if it's more convenient to you. This project is fully documented so that you can understand what each function or property does, just check it out in the eye_dropper.gdshader file! To be able to use the palette arrays with various colors, make sure to tweak the max_palette_array_size constant in the shader file so that it attends your project's needs. By default it is set to 8, which means that only 8 colors are allowed at maximum using the arrays, but, as mentioned, that's easily tweakable. I hope this shader helps you with your project! :D *This project was tested with Godot 4.3.

Get it → github.com
Related:
godotgdscriptshaders

Found on Devadex — the discovery index for independent software the big search engines bury. More from godot.

Report this listing