Gamma and contrast adjustment

I found only this: Canonical gamma correction since r112
Maybe need to add code in the bottom of fragment shader of material.
gl_FragColor.rgb=pow(gl_FragColor.rgb,vec3(1.4));