SuperMartijn642 / Fusion

25 stars 5 forks source link

[Feature] CTM Block overlay #5

Closed Foreck1 closed 1 year ago

Foreck1 commented 1 year ago

Is your feature request related to a problem? Please describe. There's a lack of mods that can emulate one of Optifine's more advanced features, block overlays that extend from (A) blocks to (B) blocks (detailed here).

Describe the solution you'd like It would be ideal to have a mod that can emulate most of MCpatcher's features outside of Optifine which is known to cause compatibility issues due to its other features. Being that CTM alternatives exist already, but features like CIT (custom item textures) and CTM-overlays do not, it would be ideal to see that feature.

Great mod btw. Cute and clean presentation.

SuperMartijn642 commented 1 year ago

Is there an explanation of what overlay actually does somewhere? I am not familiar with it and the only thing on that page is this: image

Foreck1 commented 1 year ago

It makes a block draw a texture on surrounding blocks if they are specified. In this picture, grass is adding an overlay over red sand image

Here's a personal example of how a functional implementation looks RotN repo And here's the template used by Optifine optifine documenttion

Steamoonkie commented 1 year ago

Sir? https://legacy.curseforge.com/minecraft/mc-mods/connectedness

SuperMartijn642 commented 1 year ago

In Fusion version 1.1.0 I now added the ability for connecting textures to override their render type. With that addition it is now possible to create block overlays using Fusion's existing connecting model and connecting textures. I added a page on the wiki as to how to set it all up here: https://github.com/SuperMartijn642/Fusion/wiki/Block-Overlay-Example

Thank you for the suggestion!