Commit Graph

3131 Commits

Author SHA1 Message Date
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 f136d0cd19 Cleanup window buffers 2025-11-11 18:08:55 +00:00
justin ceba6fd533 Cleanup some silhouette edge buffers 2025-11-11 17:45:30 +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 1546caa6a3 Cleanup 2025-11-10 14:55:46 +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 187751ec26 Move from glNamedBufferData to glNamedBufferStorage 2025-11-09 21:11:55 +00:00
justin 7ae50adb55 Cleanup 2025-11-09 16:42:55 +00:00
justin 658da193b7 Cleanup 2025-11-09 16:12:17 +00:00
justin cd7a5dcbb5 Simplify block/wall destruction
This uses a right fold, so might be slower than a strict left fold
2025-11-09 16:00:46 +00:00
justin 6f3632d495 Cleanup 2025-11-09 15:41:19 +00:00
justin 5a40eac4e2 Move wall destruction 2025-11-09 14:37:45 +00:00
justin 09f7cc309b Cleanup 2025-11-09 12:06:34 +00:00
justin 397980a83f Simplify props (should they be removed?) 2025-11-09 11:59:59 +00:00
justin dd4ac80159 Remove old Prop update 2025-11-09 11:38:17 +00:00
justin e20cc593fc Cleanup 2025-11-09 11:31:29 +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 833d4562e2 Fix rendering without shadows 2025-11-02 22:58:06 +00:00
justin 55252bfe22 Add files 2025-11-02 22:09:07 +00:00
justin 8d79e96798 Add files 2025-11-02 22:07:15 +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 0d0c1a72e0 Stencil out windows over ceilings 2025-11-01 11:41:08 +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 40c1907689 Cleanup 2025-10-29 12:18:55 +00:00
justin c9ec962575 Cleanup 2025-10-29 12:09:05 +00:00
justin a3b343dfab Unify dust and cloud poking 2025-10-29 11:59:18 +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 d6c4d3d609 Fix shockwave damage radius for walls 2025-10-28 08:09:44 +00:00
justin 20042fcf8d Simplify laser reflection/refraction 2025-10-27 19:41:52 +00:00
justin 7c40db7153 Fix pathing for zChasm 2025-10-27 19:07:04 +00:00
justin 323a50ed31 Get out external function for grid room positions 2025-10-27 17:22:55 +00:00
justin 329fcc237b Work on grid for room placements 2025-10-27 17:08:16 +00:00
justin 0946ee1310 Try to simplify link code in roomRect 2025-10-27 15:10:19 +00:00
justin c88fc1c729 Simplify grid/lattice creation 2025-10-27 12:21:18 +00:00