Interrupt / delve-framework

Delve is a framework for writing Games in Zig and Lua. For those who value being cross platform and keeping things simple.
MIT License
203 stars 11 forks source link

Splitting up the projection and view matrices when drawing #36

Closed Interrupt closed 2 months ago

Interrupt commented 2 months ago

Draw calls will now explicitly need the view, projection, and model matrices to be passed. This unlocks passing these matrices to the shaders separately, which will allow the lighting shader to get the camera position out of the view matrix.