Commit Graph

35 Commits

Author SHA1 Message Date
justin 32367b5b2d Add trajectory to grenades, various refactoring 2021-09-25 18:39:53 +01:00
justin 6ac53c052c Working (but slow) shadow shapes 2021-09-17 23:12:51 +01:00
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 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 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 743e190ddc Tweak wall shadow geometry shader 2021-08-19 14:57:23 +02:00
justin ebeec417ce Lap warming commit---gpu needs optimisation 2021-07-04 22:51:40 +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 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 02511afa80 Remove unnecessary uniforms 2021-06-10 18:07:26 +02:00
justin 0a8370c7c6 Commit before fully removing uniforms other than the matrix 2021-06-10 15:45:52 +02:00
justin 822db37a58 Commit before attempt to unify picture rendering 2021-06-09 21:32:26 +02:00
justin 750a67ea6e Implement different shadow resolutions 2021-04-28 23:16:42 +02:00
justin 8cb177a21c Implement low res shadows 2021-04-28 20:50:53 +02:00
justin 1b4eac2da7 Rename shaders, remove a dependency on Dodge.Data 2021-04-28 13:32:50 +02:00
justin e6c76da6b3 Implement textured walls 2021-03-21 20:09:11 +01:00
justin cf5a8b3e1b Reorganise shaders 2021-03-21 12:50:27 +01:00