using RGB instead of BGR for texture upload
removing toSRGB for linear and kodakLog colorspaces