Move lighting settings into separate functions.