ConnectedTexturesMod-Fabric
ConnectedTexturesMod-Fabric copied to clipboard
Feature Request: Block Face Culling Between Glass Panes
If possible could you make it so the side faces of glass panes get culled so that you will not need to use resource packs like this to remove the lines between the glass. This should properly fix the issue fixed with that resource pack, it is used to remove the side texture of the glass meaning it won't even render if the side of the glass pane is exposed to air. This is done because even though the glass texture will be connected you will see lines in the glass from the sides of the panes. If that face was properly culled you would not need to use that alongside it's corresponding resource pack. Plus it would have the benefit of the side textures being visible when the panes are not up against something it would look more natural. I'm not sure if it is better to cull the sides only when touching other glass and glass panes or it should be culled for all blocks. (In terms of the way it looks) It would probably be best to do what Optifine used to do unless if you can make it look better.
I have been working on a separate mod that allows resource packs to define "culling predicates" which essentially dictate when a quad should cull depending on the obscuring block. This can fix the top and bottom textures culling incorrectly but not connection outlines. I am planning to make another mod that will use CTMF's API to add another special texture type that makes glass pane connection outlines look correct. With these two mods and a resource pack, glass pane culling will be like in Optifine.
Unfortunately, the culling mod is currently incompatible with CTMF because of how CTMF works. I have been planning a major rewrite of some of the internals but I worked on this mod for a few months straight so I am a bit burned out now. The culling mod also doesn't work without FREX because of a bug in Fabric API, so until that is fixed I can't make a full release.
My goal with this mod (CTMF) is to not add any "special cases" for any blocks because the original doesn't do that and because it takes control away from the resource pack creator.
I will comment and close this issue when I finish working on those mods or if I find an alternative option.
went in to make a new issue about a feature similar to this. It would be such a plus on something like a ctm beacon where each part of a model could be culled in a model like it. hope it gets a full release anytime