sp614x / optifine

1.8k stars 418 forks source link

Lightning bolts and lightning strikes are invisible when shaders are installed #2383

Open Tsoccerguy3 opened 5 years ago

Tsoccerguy3 commented 5 years ago

I have tried Sildurs and a variety of other shaderpacks to find that lightning does not render when shaders are installed . This occurs in all minecraft versions of Optifine installed in Minecraft .

Has anyone found a solution ?

Would like to know if even lightning strikes and bolts are even possible .

Zelceus commented 5 years ago

I would like to point out that it is absolutely possible for lightning to be rendered with a shaders pack/mod. It is most likely just the creator not adding support, or maybe forgotten to include the rendering of lightning in their shaders. Here I'm using Oceano's Shaders Mod in the preview version of optifine 1.14 and lightning is definitely visible though it looks very static-y/fuzzy in my opinion

2019-05-19_21 13 17

[Edit]: I did testing with the Sildur's pack recently. I had no issues with the lightning rendering and it seemed to work perfectly well (besides me using an unstable version of optifine). Here's a picture of me using Sildur's shaders

2019-05-19_21 25 16

It may be something else on your side. Either there are colliding arguments the with rendering calculations for the lightning effect or it could be an entirely different thing from what I'm saying. Either way you can ignore my sayings in this because I'm not an expert , but this is what I came up with. Hopefully someone who is more advanced in this area can help with this problem.

Tsoccerguy3 commented 5 years ago

I discovered that visible lighting depends on the resource pack , On minecrafts default pack with shaders , lightning is black

Tsoccerguy3 commented 5 years ago

Shading should be disabled for lightning texture , but those flashs of light should affect the lighting and shading of surrounding blocks

RobbyCBennett commented 4 years ago

It's still an issue for me in the preview 1.15.2, but it seems to be fine in the latest 1.14.4 release.