{"repo":"nadjiel/eye-dropper","free":true,"listed":false,"github":"https://github.com/nadjiel/eye-dropper","clone":"git clone https://github.com/nadjiel/eye-dropper.git","description":"Eye Dropper is a shader for Godot (using gdshader language) that allows performing color palette swapping in an intuitive way.","language":null,"stars":29,"topics":["asset","gamedev","godot4","open-source","shader"],"license":"MIT","category":"game-templates","readme_excerpt":"🎨 Eye Dropper Eye Dropper is a shader for the Godot engine ( 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 version that works with 3D nodes. With this shader, you can configure your palettes through Textures or through PackedColorArrays , or even use both options, if it's more convenient to you. :sparkles: Features :paintbrush: Palette Swapping The main purpose of this project is allowing easy color swapping for CanvasItems nodes in the Godot engine. That's achieved with the eye dropper.gdshader script, which exposes handy properties that can be tweaked programatically, or manually in the Godot editor, in order to achieve different palettes dynamically. Illustration of the color swapping process For that palette swapping to happen, two important pair of properties are available in the shader parameters: the input palette array and output palette array and the input palette texture and output palette texture . Both of these pair of properties serve the same functionality: allowing you to define what colors should be replaced by what colors in the color swapping process. Screenshot of the shader parameters The difference between the Array based and the Texture based properties is that the Texture ones are easier if you want to swap quickly from a pre-stablished pa","default_branch":null,"files":null,"tree":[],"storefront":"/r/nadjiel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nadjiel/eye-dropper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}