Commit Graph

52 Commits

Author SHA1 Message Date
justin 3dd386e908 Prevent drawing of shadow caps when turned off 2023-03-25 17:46:54 +00:00
justin 32ecf46343 Cleanup: remove uniforms from shader datatype 2023-03-20 01:19:10 +00:00
justin 33f31aa385 Improve normal maps on ground and walls 2023-03-19 23:52:19 +00:00
justin 70c15fea5d Play with floor textures 2023-03-18 22:31:24 +00:00
justin 6461535579 Tweak floor normal map shading 2023-03-18 14:41:07 +00:00
justin 850fdf1783 Add normal maps to the floor 2023-03-17 16:51:02 +00:00
justin 249262b2b6 Refactor shapes, prepare for different normals at single vertex pos 2023-03-15 21:43:00 +00:00
justin 989140d46e Add shading for shapes and the floor 2023-03-15 18:24:09 +00:00
justin 6af041bb8c Continue work on shadow rendering 2023-03-14 11:20:38 +00:00
justin cda7116930 Cleanup 2023-03-10 09:45:40 +00:00
justin dc3faeed63 Cleanup 2023-03-10 09:39:40 +00:00
justin 7f0c7ad159 Bump to opengl 450 2023-03-07 22:53:32 +00:00
justin b68703c275 Fix error display when compiling/linking shaders 2023-03-07 15:46:35 +00:00
justin bf1bd5bb0b Implement (not fully working) alternate shadow volumes 2023-02-24 19:51:41 +00:00
justin ed9a46a18d Allow to change menu options with rclick, move towards shader experiment 2023-02-24 15:03:06 +00:00
justin c73e8af72a Commit before attempt to remove geometry shaders from shadow extrusion 2023-02-23 23:10:00 +00:00
justin cb8cbe03a4 Commit before reorganising level generation 2021-11-16 14:48:37 +00:00
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