Commit Graph

45 Commits

Author SHA1 Message Date
justin ad4a70635b Use mutable vectors to for layer vertex offset positions 2021-08-09 10:55:30 +02:00
justin 62395f38bc Proof of mutable vector vertex offset storage concept 2021-08-09 01:58:36 +02:00
justin 3fdae85953 Store number of vertices in an intmap 2021-08-09 00:54:19 +02:00
justin 2f8a9fb86a Inline fold sub-functions for speed 2021-08-03 20:22:39 +02:00
justin 12e7af0755 Use Fold for rendering 2021-08-02 02:14:09 +02:00
justin 54c912224b Rendering optimisations (mainly inlining) 2021-07-31 23:38:37 +02:00
justin d7649b951b Implement poking using Verx lists 2021-07-30 20:04:55 +02:00
justin 834464db51 Remove RenderType datatype 2021-07-30 11:53:51 +02:00
justin bd8ef3f416 Mid strictifying 2021-07-29 23:42:27 +02:00
justin 67aa5c05c7 Commit before strictifying points 2021-07-29 20:15:49 +02:00
justin 192e2c9c57 Implement custom poking for vertices--speed regression? 2021-07-29 18:46:01 +02:00
justin 25a6186e7b Hack partially working gui line to dropped items 2021-07-28 20:58:39 +02:00
justin ee553c6e49 Add picture shader container datatype 2021-07-28 20:14:54 +02:00
justin 3b53570c21 Continue tweaking rendering 2021-07-28 12:25:52 +02:00
justin ae84f44824 Reduce rendertype down to vertex information 2021-07-27 13:35:43 +02:00
justin d27c5e7ff4 Tweak single bind pass 2021-07-26 12:51:01 +02:00
justin 5dfebd221d Broken binding of central picture in one pass 2021-07-26 00:53:35 +02:00
justin 6905c6f154 Commit before static wall overhaul 2021-07-19 01:33:52 +02:00
justin e657d8e852 Disable filtering for charmap 2021-07-18 22:22:14 +02:00
justin 595cb6e9a8 Remove glTexImage 2021-07-18 21:31:50 +02:00
justin 9407c7af2a Use glTexStorage when resizing framebuffers 2021-07-18 20:36:20 +02:00
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