Commit Graph

63 Commits

Author SHA1 Message Date
justin a65a1cab93 Work towards using vertex pulling for lighting caps, alignment issues 2025-11-11 12:33:33 +00:00
justin 36d5edc0a6 Use vertex pulling for wall shadows 2025-11-10 21:33:56 +00:00
justin 05c530eeb1 Play around with alpha blending 2025-11-04 10:42:18 +00:00
justin 2f0487a424 Simplify ceiling oclusions 2025-11-02 19:20:57 +00:00
justin d35a41944c Start implementing ceiling stencil shader 2025-11-01 11:24:08 +00:00
justin 71006e24fd Simplify wall lighting shader 2025-10-30 11:17:06 +00:00
justin c2e5aaa7a0 Broken implementation of window colours, move towards stencil ceilings 2025-10-29 21:48:09 +00:00
justin df443744db Use stencil test to not draw floors where there are chasms 2025-08-05 19:57:49 +01:00
justin d41604fcde Mid implementation of external ammo sources 2024-06-20 22:58:52 +01:00
justin 7162893c4f Tweak lighting shaders, add commented versions without normal mapping 2024-06-20 16:33:23 +01:00
justin 7d96616b91 Fix some shapes 2023-03-25 17:56:20 +00:00
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