Forgetting about shaders - can you explain how you intend to change the colour. The sample you have show has a while range of colours in it.
Printable View
Forgetting about shaders - can you explain how you intend to change the colour. The sample you have show has a while range of colours in it.
What I want is quite straight forward, basically if I put it in Photoshop, I just need to adjust the HUE value in order to get different colors.
So now in codes, I wish to convert my image to HSV so that I can adjust the HUE value to change color.
Well, if you need HSV you cannot avoid conversion . OpenGL doesn't do HSV natively.
I assume you are using a hue/saturation/lightness layers to do this. That is a different technique to just modifying a colour in a texture. Think about how you will modify the colour if you don't use layers.Quote:
basically if I put it in Photoshop, I just need to adjust the HUE value
Hmm, alright, I'll figure it out.
Thanks.
It is a bit more costly but you could do a hue layer type modify to the texutre, then render all the characters with this texture, modfiy the texture again and render the next set of characters.