When I turn off both gammaInput/gammaOutput, they look basically the same. Thus I think what happened is that you were compensating for the gammaInput adjustments to the shader color variables -- which makes sense, but you were compensating for a bug. :) I guess it sucks, but you now have to fix that compensation. 