How do I disable Gamma Correction?

Try to use pow function, f.e.:

return pow(yourColor, 2.0);

It worked in UE3 with nice precision.