makamys / Neodymium

Reimplements chunk rendering using modern OpenGL features to improve performance (1.7.10)
Other
115 stars 10 forks source link

Attribute abstraction #37

Closed FalsePattern closed 8 months ago

FalsePattern commented 9 months ago

This pull request builds on top of #35, with the goal of simplifying the addition/replacement of vertex attributes for compatibility with mods that require it (for instance, RPLE's colored lights). Once #35 is merged, this PR will be rebased to the merge commit, as 2b3cbb1de5e8648fa769dbdc616d4a62c58e6519 is the only commit that needs to be merged here. done

makamys commented 8 months ago

The callers of MeshQuad#getStride need to get updated to use the stride in the attribute set (it's mainly used to calculate the sizes of buffers). I like the rest of it.

(Also we should probably add lombok to the project, I'll see if I can do that. done.)