Game4all / vx_bevy

🧊 Voxel engine prototype made with the bevy game engine. Serves as a playground for experimenting with voxels, terrain generation, and bevy.
MIT License
284 stars 33 forks source link

Upgrade bevy to v0.10.1 #21

Closed meyerzinn closed 1 year ago

meyerzinn commented 1 year ago

This is a large PR which seeks to upgrade vx_bevy to Bevy v0.10.1. Some key points:

There are a lot of refactors involved (mainly just anywhere I got confused). Something to note: it is an error in Metal to try to call drawIndexedPrimitives with an empty mesh, so I had to defer attaching meshes to chunks for later.

Also, PBR is kinda slow. I'm definitely investigating the framerate issues to see if there is any low-hanging fruit.

This PR is not complete (notably terrain generation is scuffed at the moment). Feel free to leave it or merge it (or any part of it) however you see fit. I'll submit these contributions with the same MIT license.

Game4all commented 1 year ago

I think every bit extractible from this PR has been PRed separately ?