A physically based rendering framework