I am doing some programming in Processing with P3D/OpenGL that involves color manipulations in linear RGB space. I need to convert the Processing color into linear RGB by removing the gamma correction. Are Processing colors in sRGB or is there a gamma function with a gamma of 2.2 or some other value?
↧