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

Flywheel has weird issues with Distant Horizons #264

Open
Luviam opened this issue Oct 12, 2024 · 3 comments
Open

Flywheel has weird issues with Distant Horizons #264

Luviam opened this issue Oct 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Luviam
Copy link

Luviam commented Oct 12, 2024

Describe the Bug

Flywheel seemingly renders block entities (In this case, Chests) outside of Minecraft's render distance in some instances and this combined with Distant Horizons causes some weird visual issues.

Mod Versions and what not:

  • Forge 1.19.2-43.4.4
  • Create 1.19.2-0.5.1.h
  • Flywheel 1.19.2-0.6.11-22
  • DistantHorizons 2.2.1-a-1.19.2

Video settings regarding render distances.
Entity Distance is the default 100%
Simulation Distance was 5
Render Distance was 2
DH LOD distance was 256

Reproduction Steps

  1. Load into a world
  2. Have either the Instancing or Batching engine of flywheel enabled
  3. Place block entities (in this case, chests) behind a wall
  4. Fly far away enough for where the wall becomes an LOD
  5. Witness wish.com xray of block entities

Expected Result

I Expected for the block entities to not render through the LOD and turn into proper LOD's.

Screenshots and Videos

https://www.youtube.com/watch?v=LVDQAiCAXj4

Crash Report or Log

https://mclo.gs/r8zX40e

Operating System

Windows 10

What is your GPU?

Nvidia GeForce RTX 2060

Mod Version

0.6.8.a

Minecraft Version

1.19.2

Loader Version

Forge 43.4.4

Other Mods

Distant Horizons.

Additional Context

No response

@Luviam Luviam added the bug Something isn't working label Oct 12, 2024
@Jozufozu
Copy link
Member

This is super weird. It looks like distant horizons isn't correctly writing to the depth buffer. That or there's some GL state leaking going on and Flywheel ends up rendering stuff with the depth test disabled. I'd need a renderdoc capture to say for sure, but both mods are pretty GL heavy so the fault could go either way.

Excellent bug report, thanks for including detailed reproduction steps and the video.

bonus points for "wish.com xray" btw

@Luviam
Copy link
Author

Luviam commented Oct 15, 2024

Do you need me to supply a renderdoc capture? (I've never used it)
Also an additional variable I forgot to include but is briefly included in the log is that I am using GraalVM CE 17.0.9 as my JRE for Minecraft.

@Jozufozu
Copy link
Member

Nah you're good. I don't know the best way to set it up outside of a dev environment. I'll post my findings here when I have the chance to debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants