Gamma correction added.