GTNewHorizons / Angelica

OptiFine replacement for 1.7.10
Other
252 stars 45 forks source link

Vanilla chests flicker when Logistics Pipes are in view and GL state caching is enabled #501

Closed szuend closed 2 days ago

szuend commented 4 months ago

Your GTNH Discord Username

nimodota

Mod Version

1.0.0-alpha50

Java Version

Java 21

Graphics Card Vendor

NVidia

Bug Report

This looks very similar to GTNewHorizons/GT-New-Horizons-Modpack#16233 but filed with more concrete repro steps.

  1. Create a new standard flat world.
  2. Place some vanilla chests
  3. Place any "Logistics Pipes" Pipe, e.g. an "Unrouted Transport Pipe"

Observe that the chests render with wrong brightness.

broken working

Observe that every time you move the pipe out of the viewport the chests switch back to bright. As soon as the pipe comes back into view the chests switch back to darker.

The chest's brightness is also fixed by disabling the GL state caching.

Mod List or GTNH Pack Version

Logistics Pipe Version: 1.2.1-GTNH

Running from a Logistics Pipes checkout via gradlew :runClient21 + manually added angelica mod in the run directory.

Final Checklist

szuend commented 4 months ago

To capture some of the discord discussion: The current suspicion is that the LP pipe TESR sets some state in the display list that Angelica doesn't properly replay.

Note that LogisticsNewRenderPipe does not implement the TESR interface, but the actual TESR delegates to the LogisticsNewRenderPipe.

Cleptomania commented 2 days ago

This has been fixed in Logistics Pipes