PDA

View Full Version : HSB Coloring



m_code
05-29-2010, 11:23 PM
Hi, Is there any api to use HSB colorizing instead of RGB and if there is not how could I convert RGB to HSB

ZbuffeR
05-30-2010, 01:04 AM
http://www.alvyray.com/Papers/hsv2rgb.htm
If you have little data to convert, you can implement it CPU side, otherwise you can do it GPU side with a GLSL shader.

m_code
05-30-2010, 08:18 AM
thanks, useful