Hi all,
How can i replace the shade of color to another color, on my attached image (S1.png), the image is of the shade of blue, and i want to replace the entire color with a different color
in GLSL but icannot just straight set the values as the colors are of different shade of blue.
What i am trying to achieve is this, the image represents something like a glow in the game and the color changes based on a certain type. Example is the other image attached (image.png), where the blue color was replaced by red (dont mind the whitish color as i will overlay a white color on top of it).
How can i do this in shader part, whats the math or the things i need to research for this?