Commit Graph

64 Commits

Author SHA1 Message Date
justin e453065afe Partial fix of inventory rendering 2021-07-23 12:48:40 +02:00
justin 5d2dde6f35 Small optimisations 2021-07-22 13:27:23 +02:00
justin 315cf780bf Give proper foldl' and foldr methods for LTrees 2021-07-22 02:00:18 +02:00
justin 9f37ecb204 Tweak picture layers 2021-07-21 17:52:38 +02:00
justin 6905c6f154 Commit before static wall overhaul 2021-07-19 01:33:52 +02:00
justin ac66b4b9d6 Hlint pass 2021-07-12 12:44:43 +02:00
justin 75254cd3e4 Remove renderbuffer from ping-pong framebuffers 2021-07-11 17:56:43 +02:00
justin 26c6c3e426 Upload wall geometry once per frame (can improve for fixed geometry) 2021-07-11 17:32:23 +02:00
justin 5e21a6527d Bloom lamps, commit before unifying wall points vbo 2021-07-11 14:34:10 +02:00
justin 50295daeba Remove bloom trails 2021-07-10 15:12:51 +02:00
justin c63b293ea5 Implement multiple radial distortion rendering 2021-07-10 14:04:01 +02:00
justin 1c519259a1 Working radial distortion 2021-07-09 20:41:34 +02:00
justin fd388e1fdf Add barrel distortion shader 2021-07-09 14:36:49 +02:00
justin 5301b6d0bd Make bloom trail last for at most one frame 2021-07-07 14:52:48 +02:00
justin b5b2a44461 Remove mipmaps from framebuffers with shared renderbuffer 2021-07-06 16:40:01 +02:00
justin f5b139a53e Progress towards downscaling bloom texture 2021-07-06 14:06:24 +02:00
justin be7bf986e2 Add trail to bloom 2021-07-05 21:31:35 +02:00
justin 77d93fabeb Experiment with bloom 2021-07-05 19:39:34 +02:00
justin 2d94e50e3a Tweak rendering 2021-07-05 00:06:04 +02:00
justin ebeec417ce Lap warming commit---gpu needs optimisation 2021-07-04 22:51:40 +02:00
justin e6f95b0480 Separate rendering of background, bloom, lightmap into framebuffers 2021-07-04 19:14:16 +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 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 b451953b99 Refactor lighting shaders 2021-06-25 00:44:45 +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 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 899c1c5f6e Refactor text rendering 2021-06-23 01:35:38 +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 5aab790806 Interleave vertex buffer data 2021-06-12 00:50:59 +02:00
justin 7b6521587d Remove polymorphism of shader type 2021-06-11 19:41:17 +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
justin 79d2c73dcf Remove Maybe from custom unis 2021-06-10 16:54:21 +02:00
justin 0a8370c7c6 Commit before fully removing uniforms other than the matrix 2021-06-10 15:45:52 +02:00
justin aa30f6b969 Implement foreground correctly, not with shadows though 2021-06-10 13:53:03 +02:00