Hi all,
I want to know can I change hue or saturation of texture at runtime?
Thanks in advance ![]()
Hi all,
I want to know can I change hue or saturation of texture at runtime?
Thanks in advance ![]()
Texture2D.GetPixels gets you a Color array of the texture, so you can go through the array and do whatever you want with the colors, then use SetPixels to upload the changed colors. There’s also GetPixels32 and SetPixels32 for using a Color32 array instead.
If you need it for rendering, I think it’s better to write a shader for better performance.