sp614x / optifine

1.77k stars 420 forks source link

[bug] custom blocks don't react to optifine custom grid colormap #7572

Closed gadyushnik closed 6 months ago

gadyushnik commented 8 months ago

Description of Issue

Hey. I have more like a question than a bugreport, but still I really need some help. So, I have baked blocks that I added and I've attached connected textures to them, which work as expected https://i.imgur.com/wNEdHag.png And I also created a custom colormap in grid format and attached it to vanilla grass blocks and my custom blocks, but while with vanilla grass the colormap works as it should, my custom blocks are colored by the colormap only after reloading the resources using hotkeys (I mean F3+T). I guess the problem is that custom colormaps define the blocks they should color by block id, not by tiles (like ctm methods can do), but maybe you can tell me something that might help me?

before the reloading https://i.imgur.com/UN7J2CL.png after the reloading https://i.imgur.com/IKQwscL.png

gadyushnik commented 7 months ago

So please can anyone help me? I need to at least understand why it works like that. Is it because custom colormaps, as well as connected textures, can only be applied to full blocks? Or does it depend on other parameters, such as tint something index? Or how does the attachment of the custom colormaps work in general, and can a colormap be attached to a tile rather than an to block id?

Jiingy commented 6 months ago

This is not a help desk for OptiFine. Please direct questions to the OptiFine discord community server for help: discord.gg/OptiFine