afritz1 / OpenTESArena

Open-source re-implementation of The Elder Scrolls: Arena.
MIT License
987 stars 68 forks source link

Software renderer redesign part 1 #241

Closed afritz1 closed 1 year ago

afritz1 commented 1 year ago

Didn't mean for this branch to take 15 months, oh well. Life happens.

This PR overhauls the rendering and chunk system to provide the means of doing 3D triangle rasterization with vertex/attribute/index buffers, textures, and shaders. It is part 1 of 3 as outlined in #223. Performance is quite poor and there is a lot of remaining design/implementation/iteration to do, but this seems like a decent time to merge.

Part 2 will be about reaching visual parity with Arena (everything except the fog shader).