LambdaBetterGrass

LambdaBetterGrass

8M Downloads

Support transparent layers

magneticflux- opened this issue ยท 2 comments

commented

I'm trying to add snow-like layers to a layer with a transparent texture, but partial transparency is not rendered:
2022-11-05_17 58 24

commented

My test case:
bettergrass/layer_types/soot.json

{
  "block": "immersive_weathering:soot",
  "model": "immersive_weathering:block/sooty_layer"
}

models/block/sooty_layer.json

{
  "ambientocclusion": false,
  "textures": {
    "particle": "immersive_weathering:block/soot",
    "soot": "immersive_weathering:block/soot"
  },
  "elements": [
    {
      "from": [ 0, 0.1, 0 ],
      "to": [ 16, 0.1, 16 ],
      "faces": {
        "up": {
          "texture": "#soot",
          "uv": [ 16, 0, 0, 16 ]
        },
        "down": {
          "texture": "#soot",
          "uv": [ 0, 0, 16, 16 ]
        }
      }
    }
  ]
}
commented

This should have been fixed but I don't remember since when.