Commit Graph

122 Commits

Author SHA1 Message Date
justin 1bbeb926a5 Fix bug in detecting which room you are in 2021-09-03 01:22:46 +01:00
justin 02193add68 Square light radius on cpu (should be done in code) 2021-09-01 21:02:18 +01:00
justin d0aeeed5c3 Further cleanup 2021-09-01 19:35:25 +01:00
justin 82551328a1 Add dependencies, play around with clouds/transparency layer 2021-09-01 03:04:41 +01:00
justin 4cd8b5aa1c Apply deferred shading to walls 2021-09-01 00:51:50 +01:00
justin 1c587d4b9a Implement something like deferred lighting 2021-09-01 00:37:07 +01:00
justin cf77163b3f Setup multiple target basic shaders 2021-08-31 20:05:15 +01:00
justin 146bab6fe3 Add shaders that will just return positional information 2021-08-31 18:32:50 +01:00
justin f58530cbb1 Clouds are affected by (underlying) lightmap 2021-08-31 16:04:42 +01:00
justin 740abd1609 Implement correctly shadows on geometry, with arbitrary near plane cap 2021-08-31 10:46:44 +01:00
justin cd0a82e526 First attempt at using exclusively depth pass with cap on near plane 2021-08-31 10:32:27 +01:00
justin f797530cbc Use depth fail and front cap for geometry shadows (TODO back cap) 2021-08-30 21:47:01 +01:00
justin eba8ff121c Add "cap" shadow shader 2021-08-29 18:13:55 +01:00
justin d23f36ea95 Partial fix to near plane clipping shadows 2021-08-28 21:25:59 +01:00
justin c36654520d Add missing dependencies, fix arc rendering 2021-08-28 16:22:21 +01:00
justin c97c16777a Make background black, start cleanup of weapons 2021-08-26 21:18:46 +01:00
justin b396d6c857 Provisional working coloured lights 2021-08-21 12:34:49 +02:00
justin a730dd66e0 Tweak bloom, remove pistol spread 2021-08-21 11:32:50 +02:00
justin 778d18276b Enable more control of bloom using hdr 2021-08-20 15:06:55 +02:00
justin 822c65e0cc Tweak bloom 2021-08-20 13:23:06 +02:00
justin a822e707e3 Correct bloom shader 2021-08-20 04:28:46 +02:00
justin 3707716569 Downsample when blurring bloom 2021-08-20 04:14:59 +02:00
justin 6933d610cd Fix bloom resize bug, bloom itself could use improvement 2021-08-19 23:39:12 +02:00
justin 743e190ddc Tweak wall shadow geometry shader 2021-08-19 14:57:23 +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 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 ebeec417ce Lap warming commit---gpu needs optimisation 2021-07-04 22:51:40 +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 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 b252c52ffe Add surface lighting shader 2021-06-25 02:27:33 +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 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 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 73bd407c49 Implement texture atlas, details on why it works unclear 2021-06-14 16:24:10 +02:00