Hi!
I have a problem :).
I don't know how to change colorization/hue/saturation in loaded texture (like Hue/Saturation or Colorize in Photoshop). I know that i have to use texturebuffer, read and write pixels etc. but how to calculate desired colorization? I want to do something like a Function ColorizeTexture(texture, r, g, b).
Can someone help me?
I have a problem :).
I don't know how to change colorization/hue/saturation in loaded texture (like Hue/Saturation or Colorize in Photoshop). I know that i have to use texturebuffer, read and write pixels etc. but how to calculate desired colorization? I want to do something like a Function ColorizeTexture(texture, r, g, b).
Can someone help me?