AMereBagatelle / fabricskyboxes

Custom skyboxes mod for Fabric
MIT License
79 stars 23 forks source link

Improve decorations, custom blending & Add vanilla skyboxes #80

Closed FlashyReese closed 1 year ago

FlashyReese commented 1 year ago

Refactor Summary

This PR improves the decorations system by enabling each decoration to be rendered separately. Previously, decorations could only be declared in one skybox, meaning that it was impossible to place sun/moon/stars separately.

Illustration by UsernameGeri Illustration of changes (Courtesy of @UsernameGeri)

Motivation

The motivation behind these changes is to provide greater flexibility and customization options for users when designing skyboxes. By allowing decorations to be rendered separately, users will have the ability to place sun, moon, and stars wherever they choose, resulting in more unique and creative skyboxes. This will ultimately enhance the user experience and improve the overall quality of the game.

FlashyReese commented 1 year ago

This latest commit improves the implementation of the blend object specification, especially when defining custom blend modes. As part of this update, we have introduced a new custom blender object that you can now specify within the blend object. The custom blender will only be used if the blend object type property is set to custom. Additionally, this commit includes the addition of new blend mode types - disable and decorations.

FlashyReese commented 1 year ago

Changes