
[Bug] Clouds and rain not visible through transparent blocks.
vinnyg0621 opened this issue ยท 11 comments
Version Info
- Minecraft, 1.20.1
- Fusion, 1.1.1
- Better Clouds, 1.3.19
- Sinytra connector, beta.45
Are you using OptiFine: Yes or no
no
Description of the Bug
with the better clouds mod, I can not see the full thing through glass panes.
Steps to Reproduce
- place two glass panes vertically in a 2x2 wall
- look at the sky (w/ better clouds mod)
Okay, but what does that have to do with Fusion? Fusion allows resource packs to use connecting textures. How is that related to not being able to see clouds or rain through transparent blocks?
I'm just unsure why this is reported as an issue to Fusion.
this has everything to do with fusion. i am using a texture pack that connects glass with it, but it is not allowing me to see clouds and rain through any transparent block such as glass and tinted glass! but other modded glasses work fine.
Midnight tigger's default connected textures (+ addons) -
https://www.curseforge.com/minecraft/texture-packs/mt-ct-d
https://www.curseforge.com/minecraft/texture-packs/mt-ct-d-a
Fusion is not doing alpha discard when CT are loaded.
Here is the depth buffer without a pack:
And here with the M.T. CT pack:
For reference this is the color image:
Here is a zip that contains two renderdoc captures, if you're familiar with that tool
renderdoc-captures.zip
Fusion doesn't handle the actual rendering of quads. All it does is return quads from a baked model and use Forge's API to return render types from a baked model.
The render types returned include render types from the parent model, the hardcoded per block render types from vanilla, and the solid, cutout, and translucent block render types. In other words, it is only returning render types that would already be used for block models.
There could a bug somewhere there where it returns some render type it shouldn't. Or it could even be a Forge bug with baked models returning multiple render types as this is a lesser used feature.
That being said, I have been working on a larger update for Fusion since before this issue was reported which rewrites everything model related from scratch. Hence I haven't looked into it as none of the code relevant to this issue will exist after it is released.
Sorry, I should have mentioned that I was running the fabric version. That probably doesn't change anything tho.