Efficient inverse lighting: A statistical approach