Commit Graph

497 Commits

Author SHA1 Message Date
justin 7367fc8f09 Attempt to reimplement cloud springs 2021-07-21 00:53:51 +02:00
justin 7b45a4a295 Steps towards making clouds list based 2021-07-21 00:05:13 +02:00
justin af44a380fc Commit before cloud changes 2021-07-20 23:45:45 +02:00
justin dd73c9c81c Add door mechanism code 2021-07-20 15:15:27 +02:00
justin ea739bd2cd Abstract and unify door mechanisms 2021-07-20 15:14:58 +02:00
justin 316a4141ab Fix space leak, start to unify door mechanisms 2021-07-20 13:42:38 +02:00
justin 40ee81aff9 Finish replacement of sortOn with safeMinimumBy, regress door space leak 2021-07-20 05:40:57 +02:00
justin 8bc5b49a3c Replace some instances of sorting with minimums 2021-07-20 05:26:27 +02:00
justin 58b2c8a842 Introduce safeMinimumOn 2021-07-20 04:34:28 +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 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 37d3e0ce63 Share wall points in buffer, part 1 2021-07-11 15:17:40 +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 d939ddc731 Remove mipmaps from resize code 2021-07-06 16:43:31 +02:00
justin b5b2a44461 Remove mipmaps from framebuffers with shared renderbuffer 2021-07-06 16:40:01 +02:00
justin 4d7f7803e0 Remove mipmaps from downscaled texture framebuffers 2021-07-06 14:40:51 +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 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