threejs - Inline Tone Mapping (within a Material's fragment shader) without
using a pre-processing step or float/half buffers by Ben Houston.