Lythom / capsule

A minecraft mod : Bring your base! Capsules can capture a region containing any blocks or machines, then deploy and undeploy at will. Inspired by Dragon Ball capsules.
MIT License
15 stars 13 forks source link

Optifine/Shaders cause invisible blueprints/black screen #69

Open Hastagaspatcho opened 2 years ago

Hastagaspatcho commented 2 years ago

Minecraft version 1.18.2

Mod version Capsule-1.18.2-6.0.84 OptiFine 1.18.2_HD_U_H7 optionally Sildur's+Vibrant+Shaders+v1.32+Medium

Forge version tested both 40.1.0 and 40.1.48

Bug log https://pastebin.com/RZG0xNh1

Issue description When using capsules with optifine enabled the preview is either non existent or in the case of using it with the shader pack, causes the screen to go black until the capsule deploy timer expires, its deployed, you look away from the ground so the preview stops "rendering" or change items.

Recreate steps Install mods, optionally enable the shader pack (for black screen results), load into world and take any capsule and activate it to bring up the preview blueprint render.

Hastagaspatcho commented 2 years ago

Appreciate the reply and the suggestion, I did try it with bsl 8.1.02.3 and the bug persisted with the same errors earlier, this was on a new minimal install with just capsule and optifine. I'll look a bit more into it on my end. Might me my specific computer

On Mon, Jun 13, 2022, 8:34 AM Kaleidio @.***> wrote:

Please note that this bug is shader pack specific. some shaderpacks do not cause this artifact. I personally recommend any BSL based shaderpack as it works fine for me.

— Reply to this email directly, view it on GitHub https://github.com/Lythom/capsule/issues/69#issuecomment-1153858983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZK6CJEDF24OY4BD3Z4KY6DVO4TEJANCNFSM5YUCH32A . You are receiving this because you authored the thread.Message ID: @.***>

Kaleidio commented 2 years ago

I have also been testing. but I deleted my comment because I retracted my suggestion as I found absolutely no shader pack more compatible than the other.

I also noticed that optifine causes the preview to "wobble" every few seconds in a way that doesn't seem intended.

Lythom commented 2 years ago

Thanks for reporting ! Rendering changed drasticaly in 1.18 and I couldn't reuse the same logic as 1.16, leading to hacky code giveing a worst looking preview. I currently don't know how to render properly some blocks preview and I'll have to wait that someone smarter or with more time tackle the block rendering issue so that I can take inspiration. This is something I'm willing to rework and I'll include optifine in my future tests. Sorry not to have a more satisfying answer for now !

Kaleidio commented 2 years ago

That's perfectly fine, as it's extremely thankful that you even chase down optifine support whatsoever. goodluck brave one, god speed. If you need testing builds, feel free to drop them my way as I actively develop my modpack that would love this mod to be added.

Discord: Kaleidio#1714

Hastagaspatcho commented 1 year ago

Small update, when using the latest version of capsule (1.18.2-6.0.92) with Oculus (the forge fork of Iris) instead of Optifine the bug is still present but it seems the preview is only invisible not blacking out the whole screen.