Slight optimization for shadeless materials.