Fusion (Connected Textures)

Fusion (Connected Textures)

40M Downloads

[Bug] Clouds and rain not visible through transparent blocks.

vinnyg0621 opened this issue ยท 11 comments

commented

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

  1. place two glass panes vertically in a 2x2 wall
  2. look at the sky (w/ better clouds mod)

Screenshots
2024-09-01_19 40 17

commented

also applies to rain

commented

How is this related to Fusion ๐Ÿค”

commented

i can't even see clouds or rain through transparent blocks!

commented

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.

commented

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.

commented

What is the texture pack that you are using?

commented
commented

Fusion is not doing alpha discard when CT are loaded.
Here is the depth buffer without a pack:
image

And here with the M.T. CT pack:
image

For reference this is the color image:
image

Here is a zip that contains two renderdoc captures, if you're familiar with that tool
renderdoc-captures.zip

commented

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.

commented

Sorry, I should have mentioned that I was running the fabric version. That probably doesn't change anything tho.

commented

Fusion 1.2.0 should now fix the issue.
Thank you both for reporting the issue and looking into it!