stackotter / delta-client

An open source Minecraft Java Edition client built for speed.
https://deltaclient.app
GNU General Public License v3.0
313 stars 33 forks source link

Upwards facing liquid mesh culling #155

Closed obvgab closed 1 year ago

obvgab commented 1 year ago

Description

Addresses an issue where liquids would not render the top face of their mesh when a block is directly above. Fixes #47

Checklist:

obvgab commented 1 year ago

GitHub probably thinks I'm a psychopath now with the two forced updates...

Rebased for the linux branch and changed the pull request! I'm pretty sure it works, but I don't have a linux machine immediately accessible to test on.

ninjadev64 commented 1 year ago

I'm pretty sure it works, but I don't have a linux machine immediately accessible to test on.

As long as it's working on macOS, because there isn't a renderer for Linux yet (only a chat client).

The reason for the magnitude of rendering changes on the Linux branch is due to the split of DeltaCore into separate Core and Renderer targets, so that the Metal renderer wouldn't prohibit DeltaCore from building on Linux.

obvgab commented 1 year ago

Should've checked back on the formatting guide. Here's a better commit