Hue Shift (like photoshop) Effect

Blitz3D Forums/Blitz3D Programming/Hue Shift (like photoshop) Effect

Hey jfk, thanks for the reply!

I'll look at using the HSV conversion, but I'm pretty sure this will be too slow to do in realtime. I'll let you know how it works out, though.


As to the other way, I'm not sure I know what you mean by saying that EntityColor is only subtractive... What I'm doing right now is I've split my image into 3 different textures which correspond to the greyscale R, G, and B channels out of photoshop. Then I am doing entitycolor on each of these individually and combining them additively. Does that make sense? Download the zip and check out the code if you get a sec and you'll see what i mean.

Do you have any suggestions for why this isn't working correctly? I feel like i've tried every possible way of shifting their colors and still can't get it to work right.

The only thing I can think at this point is that not having the Saturation and Brightness separate from the color is preventing the hue shift from being continuous. But what's weird is that the shift on a single color seems to work perfectly, and the shift on all three works correctly at some points, just not all.

I really appreciate your help and hope we can sort this out. It would be an awesome realtime effect in the project that i'm working on!

cheers,
roland