Commit Graph

378 Commits

Author SHA1 Message Date
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 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 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 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 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 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 0b76062475 Add world default 2021-06-10 15:46:41 +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
justin e016d3aa9e Refactor arc shader so it uses only matrix uniform 2021-06-10 11:52:39 +02:00
justin 822db37a58 Commit before attempt to unify picture rendering 2021-06-09 21:32:26 +02:00
justin 8ec1ef62fb Tweak movement 2021-06-09 15:27:47 +02:00