Commit Graph

466 Commits

Author SHA1 Message Date
justin e6f95b0480 Separate rendering of background, bloom, lightmap into framebuffers 2021-07-04 19:14:16 +02:00
justin c627961aac Add framebuffers with shared renderbufferobject 2021-07-04 14:41:46 +02:00
justin e3bd99868f Changes towards bloom 2021-07-04 14:09:07 +02:00
justin 9df19a9e85 Allow tweaking z buffer when rendering polygon, improve explosion render 2021-07-03 23:56:01 +02:00
justin 532f491327 Add hard edge to non-visible areas 2021-06-30 13:52:14 +02:00
justin 1cfd1663d1 Fix bug involving number of foreground vertices rendered 2021-06-30 00:59:58 +02:00
justin 357206f060 Almost working shadows 2021-06-30 00:35:41 +02:00
justin 3056e6384b Working shadows from foreground, not optimised 2021-06-29 16:47:16 +02:00
justin 3d16c33d33 Initial pass at shadows from level geometry 2021-06-29 15:27:26 +02:00
justin 089dcc3f5d Add various helpers for creating polyhedra 2021-06-27 18:53:06 +02:00
justin 06f22a3ea5 Add line shadow shader 2021-06-26 22:20:41 +02:00
justin 726cd425f2 Tweak drawing parameters 2021-06-25 18:43:45 +02:00
justin 06a92e70ee Initial working prototype of general lighting surfaces 2021-06-25 03:01:18 +02:00
justin b252c52ffe Add surface lighting shader 2021-06-25 02:27:33 +02:00
justin 2d0f08c2e9 Fix tile depth 2021-06-25 02:27:20 +02:00
justin b6feccd934 Make light position uniform 3d 2021-06-25 01:19:20 +02:00
justin b451953b99 Refactor lighting shaders 2021-06-25 00:44:45 +02:00
justin 6320093473 Fix ellipse shader coordinates 2021-06-24 21:20:14 +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 7ab932db93 Update twoD shaders 2021-06-24 17:35:50 +02:00
justin 93936346f7 Add uniform buffer window coordinate matrix 2021-06-24 17:17:30 +02:00
justin 9c94ec93bd First pass at using UBO 2021-06-24 16:17:43 +02:00
justin d534f08064 Unify matrix uniform assignment, move towards uniform block 2021-06-24 14:38:17 +02:00
justin 2625927f14 Add sound file 2021-06-24 13:34:41 +02:00
justin 45194273e5 Refactor arc drawing 2021-06-24 13:34:11 +02:00
justin 9f1b501388 Refactor rendering 2021-06-23 15:16:30 +02:00
justin 899c1c5f6e Refactor text rendering 2021-06-23 01:35:38 +02:00
justin 39218ed3b5 Add flavour text, start smoke, support for different reload sounds 2021-06-22 14:42:23 +02:00
justin 52eaeead5d Add some girders 2021-06-21 17:49:18 +02:00
justin c2297cd114 Add simple high pipes 2021-06-21 16:29:24 +02:00
justin 04ed034a3e Add room foregrounds 2021-06-16 18:18:03 +02:00
justin 29902b6f22 Add random floor tiles to floors 2021-06-16 00:14:18 +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 11bd97335d Tidy imports 2021-06-12 02:47:11 +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 5aab790806 Interleave vertex buffer data 2021-06-12 00:50:59 +02:00
justin 1f87dca6ec Tweak vbo again 2021-06-11 21:13:01 +02:00
justin c2360a5f0f Tweak vbo 2021-06-11 21:04:42 +02:00
justin afece392f7 Add texture shaders 2021-06-11 19:41:39 +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 a9aa2ca2cb Add test tileset textures 2021-06-11 13:51:06 +02:00
justin 02511afa80 Remove unnecessary uniforms 2021-06-10 18:07:26 +02:00