This PR includes several modifications aimed at enhancing the alpha calculation and separating the time fading and conditional fading. The main objective of this PR is to build upon the improvements made in #77, ensuring robustness and facilitating the debugging process for resource pack creators working on their skyboxes. This PR also improves fog color transition to use alpha blending rather than weighted additive blending.
Breaking changes
The Skybox#isActiveLater method has been removed as it is no longer required.
Motivation
The motivation for these changes stems from the desire to enhance the accuracy of alpha calculation.
Refactor Summary
This PR includes several modifications aimed at enhancing the alpha calculation and separating the time fading and conditional fading. The main objective of this PR is to build upon the improvements made in #77, ensuring robustness and facilitating the debugging process for resource pack creators working on their skyboxes. This PR also improves fog color transition to use alpha blending rather than weighted additive blending.
Breaking changes
The
Skybox#isActiveLater
method has been removed as it is no longer required.Motivation
The motivation for these changes stems from the desire to enhance the accuracy of alpha calculation.