litematica icon indicating copy to clipboard operation
litematica copied to clipboard

litematica combined with optifine doesnt work properly

Open beware08 opened this issue 5 years ago • 10 comments

When you create a placement while also having optifine loaded, the mod goes crazy and the schematic isnt usable anymore

beware08 avatar Oct 18 '20 13:10 beware08

=================================== Litematica renders weird triangles, how to fix?

  • Disable shaders in Optifine, and then restart the game.
  • You may need to disable Render Regions and Fast Render as well to fix other rendering issues.

vacla avatar Oct 18 '20 13:10 vacla

so litematica and shaders hate each other?

joex92 avatar Oct 19 '20 07:10 joex92

What optifine does i believe

vacla avatar Oct 19 '20 07:10 vacla

I dont think litematica was ever deisgned to be compatible with optifine. Try sodium or canvas instead and they dont break the litematica rendering.

SkillnoobHD avatar Oct 19 '20 07:10 SkillnoobHD

I use frabrick, optifabric, litematica with 1.16.3, and sometimes it works fine and beautifully with shaders on, and other times it doesn't work at all. I have tried disabling render regions and fast render, but have not been able to get it to work again. I am not sure what causes the rendering issues, seeing as sometimes it just works fine.

Nopotato avatar Oct 22 '20 09:10 Nopotato

Shaders disabled and restarted the game? @Nopotato

vacla avatar Oct 22 '20 09:10 vacla

Shaders disabled and restarted the game? @Nopotato

Yes, disabling the shaders and restarting does not work, although sometimes (maybe 2/10 attempts) it does work, unless it was just a coincidence. For now I have chosen to remove the optifine set, to use litematica.

Nopotato avatar Oct 22 '20 13:10 Nopotato

I'm now using:

Fabric 0.11.6 OptiFine_1.16.5_HD_U_G6.jar optifabric-1.9.2.jar litematica-fabric-1.16.3-0.0.0-dev.20200913.215807.jar

(Used it with both curseforge and multiMC)

If the game is launched with no shaders enabled, and then enable the shaders once the game is running, litematica renders decently (you can see the blocks but they glow).

But if the game is launched with shaders on, the rendering is completely broken looking like random textures smeared all over and triangles. Not legible, cannot tell what the blocks are.

Disabling shaders won't help until the game is relaunched. Since it works if the game is launched without shaders enabled, I wonder if it would be possible to make litematica and optifine/optifabrick to play nice?

Nopotato avatar Oct 14 '21 11:10 Nopotato

@Nopotato This was fixed in Litematica already back in January for 1.16.x. But you are still using a version from September 2020. Get the latest 1.16.5 version from here: https://masa.dy.fi/mcmods/client_mods/ (or even the 1.16.4 version from CurseForge, but that latest 1.16.5 build has tons of other improvements and fixes as well).

maruohon avatar Oct 14 '21 11:10 maruohon

@maruohon Wow, that's awesome! I had tried to update my custom modpack but kept running into issues so i rolled back to an older instance until I had a combo that worked though I am prone to user error. Either way this one you linked me now works on my quick 1 minute test so I am very happy.

Nopotato avatar Oct 14 '21 12:10 Nopotato