Connected Glass

Connected Glass

37M Downloads

Connected Textures not working. Unable to get Indium.

scarletwolf134 opened this issue ยท 7 comments

commented

Version Info

  • Minecraft, 1.18.2
  • Connected Glass, 1.1.12

Description of the Bug
Connected glass does not work on forge with shaders. I do not have Sodium but I do have Embeddium as Oculus refuses to load my shader without it everything is just invisible without Embeddium. The issue I CAN'T get Indium like the FAQ suggests as it's fabric only. Nor can I swap to fabric without loosing 30% of the important mods from my mod pack. Is there anyway I can get this mod to work without turning off my shaders or any substitutes for Indium

Steps to Reproduce
Get Oculus and Embeddium or Rubidium. Load up the mod and no connected glass sadly.

Screenshots
...

commented

Note problem persists even when my shaders are turned off although idk if that would effect anything. (through the in game setting haven't tried it by turning them off in curseforge menu)

commented

Connected Glass does not change vanilla glass. It adds new glass blocks with connecting textures.

commented

I am using the connected glass. I specifically tried out all types of glass from the mod in the creative menu and none of them are working.

commented

You do not need Indium if you are not using Sodium. Indium specifically patches Sodium to use the Fabric Rendering API.

What version of Fusion are you using?

It will be a while before I am at my computer, so I can't look into it right now. If you want you can already check if the issue is present with just Connected Glass and its dependencies installed and if not, narrow down what other mods are needed to reproduce the issue.

commented

I think it is caused because even if you are not using sodium shaders require some sort of mod like sodium. Both of the other mods required to run Oculus aka shaders. Have a mod that is based off of sodium's coding. Either Embeddium or Rubidium or some other sodium substitute. I think the problem lies with their similar enough to sodium that they're still causing the issue. But there's no similar mod to indium to fix it to my knowledge. Thus at least for 1.18.2 making connectable glass unusable with shaders on Forge. Unless there is some sort of substitute for indium I did find one mod that said that it was but it didn't fix the issue. Coincidentally I'm not home either now LOL so I'd have to wait until I get off of work to try and test it to see if it's still having issues without Oculus and embedium to make sure that that's the issue.

commented

My bad I'm currently on mobile and I have no idea why it decided to close whenever I edited my last message. I don't use github often.

commented

Fabric works quite differently to Forge. Forge uses patches and directly modifies vanilla code. This means any rendering related changes cannot be ignored as, for example, they just modify the method to obtain quads from a model to include additional model data. The option to use patches is exclusive to Forge itself and mods have to use mixins if they want to inject into vanilla code.
Fabric on the other hand consists of Fabric Loader and Fabric API. Fabric Loader just loads mods and allows them to use mixins to inject into vanilla code. Fabric API uses mixins to provide default APIs which other mods can use, however Fabric API is not special compared to other mods. Any mod can do what Fabric API does and there's no patches to directly modify vanilla code.

All this means is that on Fabric, a mod can ignore any Fabric API and just interact with the vanilla code. On Forge mods have to use the changes made by Forge as they directly change the vanilla code.

Sodium (at least pre 0.6) just interacts with vanilla code. It does not interact with Fabric API. This means any mods using Fabric Rendering API don't work when Sodium is installed as Sodium bypasses the vanilla rendering where the hooks for Fabric API are. Indium adds support for the Fabric Rendering API to Sodium.
Embeddium (and Rubidium for that matter) is a port of Sodium to Forge. As some of the vanilla code is different due to patches from Forge, they have to account for the rendering changes made by Forge. As there is no separate rendering API, there is no need for a mod like Indium.

My bad I'm currently on mobile and I have no idea why it decided to close whenever I edited my last message. I don't use github often.

Yup I have also done that plenty. GitHub makes it very easy to click the 'Close with comment' button lol