Commit Graph

210 Commits

Author SHA1 Message Date
justin 56aa8c6697 Shaders: work on fullscreen, cleanup creation 2025-11-13 11:18:28 +00:00
justin 8dee93991a Vertex pull fullscreen lighting texture shader 2025-11-13 10:28:34 +00:00
justin b012d3c41e Cleanup, correcly filter unimportant shadow silhouettes 2025-11-12 23:10:33 +00:00
justin 5e9d337288 Cleanup shadows 2025-11-12 22:54:43 +00:00
justin 383beeae82 Readd dust cloud rendering 2025-11-12 20:53:37 +00:00
justin 409180959c Use vertex pulling for clouds 2025-11-12 19:57:07 +00:00
justin ce1937c78e Improve normal packing and unpacking 2025-11-11 21:47:39 +00:00
justin 4121bfb468 Reduce shape vertex size to 8 floats
It is not at all clear whether this is an improvement or not
2025-11-11 21:12:50 +00:00
justin ce438b7ecd Pack shape normals into a word8 2025-11-11 21:03:02 +00:00
justin 7f6e7d2741 Get shape shader working using vertex pulling
Seems slow, will try to improve
2025-11-11 18:54:48 +00:00
justin 4d59d521ac Cleanup 2025-11-11 17:22:55 +00:00
justin c5034b3c4c Use ssbos for edge shadows
Seems quite slow as is
2025-11-11 16:23:39 +00:00
justin 219c574931 Use ssbo/vertex pulling for lighting cap shader
Not yet sure whether the colour vector is correctly input into the ssbo
2025-11-11 14:15:42 +00:00
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 1a85d9d562 Use vertex pulling for ceiling stencil 2025-11-10 19:15:07 +00:00
justin 1f01147821 Draw walls using vertex pulling 2025-11-10 19:05:54 +00:00
justin df435819eb Window render bugfix 2025-11-10 14:08:34 +00:00
justin 5e93c7631d First implementation of SSBO, vertex pulling 2025-11-10 11:58:11 +00:00
justin e9ffeeaea7 Work on cloud/window transparency 2025-11-09 11:00:12 +00:00
justin 7c62479f30 Tweak clouds 2025-11-06 22:01:24 +00:00
justin 05c530eeb1 Play around with alpha blending 2025-11-04 10:42:18 +00:00
justin cf6cd3cd83 Add shader files 2025-11-02 22:06:59 +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 e8d2407367 Fix dust rendering 2025-10-29 11:37:57 +00:00
justin 5f0ab2223d Start simplifying cloud shader 2025-10-29 11:14:08 +00:00
justin 042bd6bc01 Replace glDrawBuffers with glNamedFramebufferDrawBuffers 2025-10-28 13:34:11 +00:00
justin 10503da955 Improve window drawing 2025-10-28 09:58:44 +00:00
justin df443744db Use stencil test to not draw floors where there are chasms 2025-08-05 19:57:49 +01:00
justin 7110ddb7a6 Add sound queue when on chasm edge 2025-07-30 14:01:56 +01:00
justin d1346b855f Cleanup 2025-07-30 09:25:29 +01:00
justin 18770480e7 Cleanup 2025-07-30 09:20:41 +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 9c11a8ff66 Remove instancing shaders 2023-04-23 12:48:55 +01:00
justin 4bb9841be8 Remove compute shaders 2023-04-23 12:39:35 +01:00
justin 33a6e471ae Rmove overlay framebuffer, directly draw overlay instead 2023-04-11 16:55:00 +01:00
justin d79216555b Try to add compute shaders 2023-04-11 14:55:57 +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 20c05be23f Fix resize crash 2023-03-24 14:21:12 +00:00
justin d524a14da4 Refactor preloading/rendering/update 2023-03-24 11:52:40 +00:00
justin 9a66a09f96 Work on lightmaps, add file 2023-03-23 23:42:09 +00:00
justin 1abfaa3cd0 Work on textures and lighting 2023-03-23 21:17:24 +00:00
justin a8f4efc04c Add file 2023-03-23 14:59:33 +00:00
justin b352d17f72 Fix character array binding 2023-03-23 14:59:20 +00:00
justin 05d1d3d1eb Bind some fixed texture arrays only once 2023-03-23 14:46:51 +00:00