temportalflux / TemportalEngine

GNU General Public License v3.0
4 stars 1 forks source link

Add player model rendering #30

Closed temportalflux closed 3 years ago

temportalflux commented 3 years ago

Its time to give the player a body. Now that model assets exist, add a renderer (which will eventually be used for all entity models) which is given a pipeline and model asset. The vertex and index buffers for the model can be written to GPU and the renderer can render just the 1 model for now. Will also probably need an instance buffer for the location of the player (and eventually any entity). This instance buffer should contain a chunk-model transformation matrix which shifts the model to the provided chunk when applying the transformation matrix for a given vertex.

temportalflux commented 3 years ago

Systematic notes: