Removed redundant perPixel assignments.