fabricskyboxes
fabricskyboxes copied to clipboard
Change view distance via fog config
The basic idea is to be able to change the view distance via configuring the various dimensions of the fog boundary. To better explain what I mean, here's an illustration:
The fog uses a cylindrical shape, so in order to get full control over its shape, we would need 3 separate parameters. An example configuration could look something like this:
"properties": {
"viewDistanceRadius": 20,
"viewDistanceBelow": 3,
"viewDistanceAbove": 8
}
In this example, the radius of the fog would be 20 chunks, the bottom plane would extend 3 chunks below the player, and the top plane would reach 8 chunks above the player. Ideally these values would serve as limiting factors, so they would not extend the view distance, if a lower render distance was set in the video settings.