fabricskyboxes icon indicating copy to clipboard operation
fabricskyboxes copied to clipboard

Change view distance via fog config

Open UsernameGeri opened this issue 8 months ago • 0 comments

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: fog 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.

UsernameGeri avatar Jun 16 '24 14:06 UsernameGeri