sp614x / optifine

1.81k stars 418 forks source link

Connected textures not mapping correctly #2950

Open RobertCritter opened 5 years ago

RobertCritter commented 5 years ago

All of the textures are mapping to just the 3x3 connected textures, not to their given textures.

The resource pack shown is CritterCraft, my own texture pack I'm working on, here's a picture of what the acacia log texture folder looks like:

acacia CC 1 14 4 V1

And here's how they render when loaded:

2019-10-07_14 50 53

It does the same in John Smith Legacy JimStoneCraft Edition 1.14.4 v9, although they have some repeating textures:

acacia JSL JSC 1 14v9

The single-file textures are working too (1-3 and 12,24,36), so any rectangular shapes I make in-game work fine. But if I try to add a curve, the edge and corner textures map to the 3x3, so the texture isn't connected correctly. I have an example using the only texture I've made so far that has the full ctm, but it's a little hard to see:

2019-10-07_14 52 43

I find the same problems with the compact ctm:

2019-10-07_15 04 46

I don't currently have time to use the texture mapping example to show the problem in-game, but I can come back in about 20 hrs and do that if necessary With the information I've given, is there anything you can do to make the textures map correctly?

RobertCritter commented 5 years ago

I forgot to include the version of OptiFine I'm working with:

preview_OptiFine_1.14.4_HD_U_F4_pre7.jar