Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shader crash in (Snowy) Hemlock Rainforests (1.19.3) #296

Open
Papuelspapals opened this issue Mar 8, 2023 · 4 comments
Open

Shader crash in (Snowy) Hemlock Rainforests (1.19.3) #296

Papuelspapals opened this issue Mar 8, 2023 · 4 comments

Comments

@Papuelspapals
Copy link

example seed: -473343465897378388
Log (Fabric): https://mclo.gs/h5mDjcl
Log (Quilt): https://mclo.gs/0TlGiHS

When entering or being near a Snowy Hemlock Forest or Rainforest with Shaders enabled the game crashes pretty much right away, Sodium/Iris related?
If I set Shaders to disabled it doesn't crash.

@Papuelspapals Papuelspapals changed the title Shader crash problem in (Snowy) Hemlock Rainforests (1.19.3) Shader crash in (Snowy) Hemlock Rainforests (1.19.3) Mar 8, 2023
@gniftygnome
Copy link
Contributor

Hemlock forests in general are very difficult for some graphics hardware. So although you could probably characterize it as a shader bug, it's really more of a hardware resource issue. Many folks have problems with that biome without shaders.

You might find the Cull Leaves mod helps.

@Papuelspapals
Copy link
Author

Papuelspapals commented Mar 8, 2023

Ah I see, thanks for the info. So maybe my 3GB of VRAM aren't enough or my card just too bad at doing what it needs to do?
In that case, fix would be buying a better card of course 👍🏻

@gniftygnome
Copy link
Contributor

I am not an expert in the graphics stuff, but as I understand it, Hemlock is particularly bad because the texture has complex transparency (lots of small areas you can see through it) and the biome generates such that you can see through many layers of hemlock leaves. This adds up to a very complicated occlusion calculation which can be quite taxing, and the reason Cull Leaves helps is it reduces the amount of layers of occlusion caused by looking through the Hemlock canopy from many to about one.

@Papuelspapals
Copy link
Author

Papuelspapals commented Mar 8, 2023

Fixed the crashes on my current hardware by installing the Cull Leaves mod you recommended and disabling "Fix Sodium Block Face Culling on Leaves" (Doesn't seem to be useful when using the default resource pack)
Sure it runs like terribly on 16 view distance on my PC but going for 10 while in the Forests really isn't bad at all.
Awesome looks and runs fine now 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants