This will lose precision, but is sufficient right now, and avoids bright textures (like snow) to be greyed.