webdisplays icon indicating copy to clipboard operation
webdisplays copied to clipboard

Optifine lightning problem

Open MatchTerm opened this issue 8 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.

MatchTerm avatar Feb 24 '18 21:02 MatchTerm

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!

MatchTerm avatar Mar 04 '18 17:03 MatchTerm

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

MatchTerm avatar Apr 08 '18 13:04 MatchTerm

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!

MatchTerm avatar Apr 08 '18 14:04 MatchTerm

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

So I MIGHT have just found a work around for anyone who have trouble using shaders with web displays in 1.12.2 optifine. For some reason when I installed the albedo mod (https://www.curseforge.com/minecraft/mc-mods/albedo) with complementary shaders on (unbound or reimagined), the screen was able to display brighter. However, you’ll get spammed OpenGL Errors in chat. What I did was turn mine off in settings lol. Also an important note is to have reflective blocks OFF in the shaders. I only know it worked for me with complementary shaders. As for BSL and etc.. I am unsure.

C-lock114 avatar Feb 21 '24 17:02 C-lock114

2FEC6822-5A17-4C23-AE80-669288FB29E9

C-lock114 avatar Feb 21 '24 17:02 C-lock114

I also found a new method instead of using the albedo mod. I added the custom npcs holding torches for dynamic lighting through the screens. Depending on which shaders, the lighting will be a different color. 2A4965DC-B85A-4B5E-98CA-C1F539D083DC

C-lock114 avatar Feb 23 '24 20:02 C-lock114