webdisplays icon indicating copy to clipboard operation
webdisplays copied to clipboard

Optifine lightning problem

Open Defalting opened this issue 6 years ago • 14 comments

Hi! I really like this mod, but I have a problem: every type of shader I use in optifine turn the screen into black. Unfortunately, since it doesn't crash the game, I don't have any log that might be useful. Are you aware of this issue? Do I have to turn off shaders? Thank you in advance.

Defalting avatar Feb 24 '18 21:02 Defalting

Hello, Yes this is known bug. I don't know how Optifine's shaders work, but it somehow breaks the screen rendering. I'll try to reach out to the Optifine's author, see if there's something I can do.

In the meantime, I'm afraid the only solution is to disable shaders.

montoyo avatar Mar 04 '18 12:03 montoyo

Thank you anyway! I'll be sure to check when it is resolved. Good luck on the project!

Defalting avatar Mar 04 '18 17:03 Defalting

Hey! Sorry to bother, but how's the fix going?

Defalting avatar Apr 08 '18 13:04 Defalting

Hello, For now I asked the Optifine's author about this on twitter twice, he didn't answer. I just sent him an e-mail, hopefully he'll answer.

montoyo avatar Apr 08 '18 14:04 montoyo

Ok, thank you!

Defalting avatar Apr 08 '18 14:04 Defalting

Unfortunately the Optifine developer doesn't seem to be willing to help, and since I can't find any solution by myself, I'm afraid I can't solve this issue :(

montoyo avatar Aug 27 '18 14:08 montoyo

Setting lighting from Moody to 100% shows a bit of the screen when looking straight at it. So it's not like it's failing to render, it's just incredibly dark.

Heathen avatar Aug 29 '18 22:08 Heathen

Is there maybe a shader code implementation, where we can exclude using webdisplays for shaders?

Peda1996 avatar Feb 24 '19 15:02 Peda1996

+1 Please fix this. This is really annoying.

BlakeB415 avatar Mar 16 '20 02:03 BlakeB415

For some shaders I think it's just caused by the screen casting a shadow on top of itself, and I was able to fix it on one shaderpack because it had an option to turn off shadows. Although for others the screen is just immensely dim and the only thing that can light it up is a dynamic light from a source that either I'm holding or is dropped, like a torch. It doesn't seem to work with placed light sources no matter what angle. idk if this helps

bengrebe avatar May 16 '20 14:05 bengrebe

I used a shader called "Beyond belief" and look at the screen through a swingset from the Decocraft mod. You have to target the swingset with your crosshair to get the highlight effect over the swing, but look through it and the screen is as clear as the minepad. So I know it's possible to have a shader and a clear screen.

Speaking of minepad..there's always that.

Edit: Currently using makeup ultrafast. Using Legacy preset. It's passable. It's like there's a privacy screen filter on it like at the doctors office.

Edit2: I just tried Complementary shaders v4.3.2, and holding a torch in your main or offhand fixes it.

whelkgetthem avatar Jan 13 '22 10:01 whelkgetthem