This PR refactors the fog color transition between multiple skyboxes to create a smoother experience. If there are overlapping skyboxes with different fog colors, the transition will now take the average fog color of those skyboxes.
Motivation
The purpose of this refactor is to improve the visual experience when transitioning between skyboxes with different fog colors. With these changes, the transition will be gradual instead of an abrupt change, creating a more seamless transition for the user.
Refactor Summary
This PR refactors the fog color transition between multiple skyboxes to create a smoother experience. If there are overlapping skyboxes with different fog colors, the transition will now take the average fog color of those skyboxes.
Motivation
The purpose of this refactor is to improve the visual experience when transitioning between skyboxes with different fog colors. With these changes, the transition will be gradual instead of an abrupt change, creating a more seamless transition for the user.