Khaligufzel / Dimensionfall

A survival game inspired by Cataclysm: Dark Days Ahead and Bright Nights.
MIT License
12 stars 5 forks source link

Don't create faces on the sides of a chunk #186

Closed snipercup closed 3 months ago

snipercup commented 4 months ago

Fixes #171

Checks if a block is on the side of a chunk. If it is, it checks which side is facing outward and does not create that face.

It works fine. The only consideration is that depending on the neighbor chunk, you might still want to create the face. It looks like some faces are not created at slopes on top of the RockyHill map but it works fine for the most part and it's less noticeable then the lines between chunks.