OSBES-minecraft-bedrock-edition-shader icon indicating copy to clipboard operation
OSBES-minecraft-bedrock-edition-shader copied to clipboard

Shader shows puddles when fog applied.

Open 0xCatPKG opened this issue 3 years ago • 1 comments

When fog from resource packs is applied, shader starts drawing puddles on the ground. That may be related to weather detection (Same issue also appears in nether #222) That leads to custom biomes from addons being unplayable.

Expected Behavior

When fog is applied, terrain should be normal.

Current Behavior

When fog is applied, puddles appear on the terrain

Steps to Reproduce

  1. Get resource pack with custom fog(s)
  2. Apply fog with /fog @a push <fog identifier> test

Examples:

Video example

fog.json:

{
  "format_version": "1.16.100",
  "minecraft:fog_settings": {
    "description": {
      "identifier": "nature:mangrove_swamp_fog"
    },
    "distance": {
      "air": {
        "fog_start": 8.0,
        "fog_end": 96.0,
        "fog_color": "#778776",
        "render_distance_type": "fixed"
      },
      "water": {
        "fog_start": 0.0,
        "fog_end": 15.0,
        "fog_color": "#4c6559",
        "render_distance_type": "fixed"
      },
      "weather": {
        "fog_start": 8.0,
        "fog_end": 96.0,
        "fog_color": "#5c615c",
        "render_distance_type": "fixed"
      }
    }
  }
}

0xCatPKG avatar Nov 21 '21 00:11 0xCatPKG

@PacketCat Thank you for reporting this issue. It is related to weather detection. I'm not sure if it's possible to detect weather in different way not by using fog parameters. Probably unfixable bug. If anyone knows or have ideas how to fix this I would be really happy to discuss it with you :)

jebbyk avatar Nov 22 '21 04:11 jebbyk