This is the repository for the group project assignment in the course "Project in Introduction to Computer Science" (DD1396), by the Inda21plusplus group.
MIT License
8
stars
0
forks
source link
Added phong shading and support for a UI-controlled viewport + other changes #29
Added Phong shading (or at least the ambient/diffuse components of it) using vertex normals.
Added deferred rendering and proper point light support (with light volumes)
Added support for a UI-controlled viewport
Modified Renderer to compartmentalize the actual drawing into its own World struct that can be duplicated etc.
Changed the ModelManager to instead be effectively a writable "guard" for the backing GPU-buffers, so that on drop all pending changes are automatically flushed to the GPU.
Fixed a bug where vertex/index buffers were overwritten with new data before the draws were actually performed, resulting in the final draw using vastly wrong vertex and index data.
World
struct that can be duplicated etc.Closes #18 Closes #30