Straight to the point. For example I have any sprite and I need to change whole pixels colored 255, 0, 0 to 0, 255, 0 or any other, or modulate only these pixels. Can godot do the same thing? If so how? Thanks you a lot!
255, 0, 0
0, 255, 0
yes, you can change the modulate in the CanvasItem section
You misunderstand me. I need to change ONLY pixels colored some sort of color, and don't touch the rest. Your example modultes whole sprite.
Read the specific color in a shader as a on the fly mask, then change those specific pixels via the mask.
Thanks for your answer. I've never looked in the direction of shaders, but you pointed them out to me, and literally in 10 minutes I did it. Shaders will definitely help me in the future.