
[Bug] 1.12.2 Example "Grass Block Overflow" resulting in missing textures
Max039 opened this issue · 5 comments
Version Info
- Minecraft, 1.12.2
- Fusion, 1.2.7
What mod loader are you using?: Fabric/Forge/NeoForge/Quilt
Forge 14.23.5.2860
Are you using OptiFine: no
Description of the Bug
When using the "Grass Block Overflow" example the top of the blocks sand, dirt and gravel have no texture.
Steps to Reproduce
I am using no mods besides fusion. In the main menu i selected the example "Grass Block Overflow" as a resources pack and enter the world. Then the blocks become a "missing texture" and upon reloading the texturepack the top of the blocks become "black".
Screenshots
Thanks again for the fast answer, i just now tried disabling mipmaps but sadly it didnt change anything :(
I tried to change different render modes but all seem to have the black shadows using the transparent texture given in the example. Although they seem to sometimes become purple when changing the render mode. I also tried to remove the mcmeta data and make the given texture a "block face" only aka 16x16 and the black error persisted. But many thanks for your efforts in answering my questions!
That might be a bug with Fusion related to mipmaps as someone reported mipmaps being broken in #107.
If so, disabling mipmaps in the graphics settings should fix it.
Apart from that, the only reason I can think of for it to render black is that it is rendering a transparent texture as opaque and that part of the texture just happens to be black.
The examples are made for Minecraft 1.21.5 (or at least newer Minecraft versions). Minecraft's texture and model locations have some changes between versions, especially 1.12 to 1.13, so you'd have to account for those.
Hey, thanks for your quick answer! Sadly i am still confused. So firstly in the examples i changed the path of the textures from assets/minecraft/textures/block -> assets/minecraft/textures/blocks and inside the model file the texture path from"top": "minecraft:block/overflowing_grass" -> "top": "minecraft:blocks/overflowing_grass" to represent the change made resulting in a different outcome. Close to the player i still only see black but in the back i see a part of the texture but where it should be transparent its filled black. Also under the black top there always seem to be the same texture ignoring rules.
I thought maybe the texture wasnt found but it seems that it is found but rendered strangely. To find out i changed "top": "minecraft:block/overflowing_grass" -> "top": "minecraft:blocks/stone" and then i can see the stones just fine. I am not sure what i am doing wrong.
It was a issue on my part not editing the values properly. If anyone ever has the same problem i put a working example for 1.12.2 here.