Eye Dropper Shader Launch
New Shader Asset for Godot!
Hello! Happy New Year! (a little late XD) To start this year well, I’m excited to announce that I released my first asset here on Itch.io! :D
The Eye Dropper asset is a shader for the Godot game engine that allows performing color swapping on the material it is applied. If you need to implement that in your Godot project, give this asset a try! I’d love to hear what you think of it.
This project started as a shader for a game I’m making, but I noticed it was pretty useful so I decided to share it with other people who may find it interesting.
So, this asset consists basically of a .gdshader
file that has the shader code that you can use to implement the functionality described. Other files that come together are a LICENSE
(MIT) and a README.md
, so that you can have them in handy if you need. :)
The shader file available comes fully documented to allow you to easily get started. I was wondering if a showcase/ tutorial of how to use this asset would be of value. If you’d like that, feel free to leave a comment letting me know. ;)
Features
The features this shader provides are basically allowing performing palette swapping, but down below I’ll explain them in more detail:
- Performing palette swapping with the use of an input and an output texture;
- Performing palette swapping with two
PackedColorArray
s describing the input and output colors; - You can also use both options in combination, with the arrays having a greater precedence;
- This shader also supports swapping transparent colors.
Thank you very much for your time reading this and for checking the asset out! :3
I hope this devlog is interesting (this is my first devlog here on Itch.io as well haha) and that the asset helps you with your projects!
Leave a comment
Log in with itch.io to leave a comment.