Commit Graph

24 Commits

Author SHA1 Message Date
justin 26c6c3e426 Upload wall geometry once per frame (can improve for fixed geometry) 2021-07-11 17:32:23 +02:00
justin 37d3e0ce63 Share wall points in buffer, part 1 2021-07-11 15:17:40 +02:00
justin 3d16c33d33 Initial pass at shadows from level geometry 2021-06-29 15:27:26 +02:00
justin 06f22a3ea5 Add line shadow shader 2021-06-26 22:20:41 +02:00
justin bae8a4ed94 Cleanup matrices 2021-06-24 18:49:10 +02:00
justin d4795749e3 Change bufferData to bufferSubData 2021-06-24 18:19:03 +02:00
justin 97598bc171 Replace explicit matrix uniforms with single ubo 2021-06-24 17:58:15 +02:00
justin d534f08064 Unify matrix uniform assignment, move towards uniform block 2021-06-24 14:38:17 +02:00
justin da631e3b37 Add tilemap floors to rooms 2021-06-15 14:56:32 +02:00
justin 73bd407c49 Implement texture atlas, details on why it works unclear 2021-06-14 16:24:10 +02:00
justin f09fe8798e Module reorganisation 2021-06-12 12:21:42 +02:00
justin 8723be7f26 Refactor poking slightly 2021-06-12 02:40:45 +02:00
justin 02a2d3920d Remove list layer while poking 2021-06-12 02:08:42 +02:00
justin 0cb0c752e2 Start modularising shader code 2021-06-12 01:41:46 +02:00
justin a5744f02f0 Remove vaoBufferTarget 2021-06-12 01:14:42 +02:00
justin 1f87dca6ec Tweak vbo again 2021-06-11 21:13:01 +02:00
justin 7b6521587d Remove polymorphism of shader type 2021-06-11 19:41:17 +02:00
justin 0e0d8f4e99 Partial implementation of interleaving VBO 2021-06-11 18:29:53 +02:00
justin 02511afa80 Remove unnecessary uniforms 2021-06-10 18:07:26 +02:00
justin 95f8e57e45 Remove unnecessary uniforms 2021-06-10 17:00:53 +02:00
justin 79d2c73dcf Remove Maybe from custom unis 2021-06-10 16:54:21 +02:00
justin 6a38950501 Linting, haddocking 2021-04-29 15:31:07 +02:00
justin ffe4a8083b Linting 2021-04-23 11:10:45 +02:00
justin e8e3dd8f50 Refactor level/room generation modules 2021-03-11 22:08:35 +01:00