Added gamma correction.
Multi object support.