Designing the optimum and minimal shape and size of a sun shade?

Camera face sun. If I remember correctly.