Commit Graph

456 Commits

Author SHA1 Message Date
justin 06f22a3ea5 Add line shadow shader 2021-06-26 22:20:41 +02:00
justin 726cd425f2 Tweak drawing parameters 2021-06-25 18:43:45 +02:00
justin 06a92e70ee Initial working prototype of general lighting surfaces 2021-06-25 03:01:18 +02:00
justin b252c52ffe Add surface lighting shader 2021-06-25 02:27:33 +02:00
justin 2d0f08c2e9 Fix tile depth 2021-06-25 02:27:20 +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 6320093473 Fix ellipse shader coordinates 2021-06-24 21:20:14 +02:00
justin bae8a4ed94 Cleanup matrices 2021-06-24 18:49:10 +02:00
justin d4795749e3 Change bufferData to bufferSubData 2021-06-24 18:19:03 +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 93936346f7 Add uniform buffer window coordinate matrix 2021-06-24 17:17:30 +02:00
justin 9c94ec93bd First pass at using UBO 2021-06-24 16:17:43 +02:00
justin d534f08064 Unify matrix uniform assignment, move towards uniform block 2021-06-24 14:38:17 +02:00
justin 2625927f14 Add sound file 2021-06-24 13:34:41 +02:00
justin 45194273e5 Refactor arc drawing 2021-06-24 13:34:11 +02:00
justin 9f1b501388 Refactor rendering 2021-06-23 15:16:30 +02:00
justin 899c1c5f6e Refactor text rendering 2021-06-23 01:35:38 +02:00
justin 39218ed3b5 Add flavour text, start smoke, support for different reload sounds 2021-06-22 14:42:23 +02:00
justin 52eaeead5d Add some girders 2021-06-21 17:49:18 +02:00
justin c2297cd114 Add simple high pipes 2021-06-21 16:29:24 +02:00
justin 04ed034a3e Add room foregrounds 2021-06-16 18:18:03 +02:00
justin 29902b6f22 Add random floor tiles to floors 2021-06-16 00:14:18 +02:00
justin da631e3b37 Add tilemap floors to rooms 2021-06-15 14:56:32 +02:00
justin 73bd407c49 Implement texture atlas, details on why it works unclear 2021-06-14 16:24:10 +02:00
justin f09fe8798e Module reorganisation 2021-06-12 12:21:42 +02:00
justin 11bd97335d Tidy imports 2021-06-12 02:47:11 +02:00
justin 8723be7f26 Refactor poking slightly 2021-06-12 02:40:45 +02:00
justin 02a2d3920d Remove list layer while poking 2021-06-12 02:08:42 +02:00
justin 0cb0c752e2 Start modularising shader code 2021-06-12 01:41:46 +02:00
justin a5744f02f0 Remove vaoBufferTarget 2021-06-12 01:14:42 +02:00
justin 5aab790806 Interleave vertex buffer data 2021-06-12 00:50:59 +02:00
justin 1f87dca6ec Tweak vbo again 2021-06-11 21:13:01 +02:00
justin c2360a5f0f Tweak vbo 2021-06-11 21:04:42 +02:00
justin afece392f7 Add texture shaders 2021-06-11 19:41:39 +02:00
justin 7b6521587d Remove polymorphism of shader type 2021-06-11 19:41:17 +02:00
justin 0e0d8f4e99 Partial implementation of interleaving VBO 2021-06-11 18:29:53 +02:00
justin a9aa2ca2cb Add test tileset textures 2021-06-11 13:51:06 +02:00
justin 02511afa80 Remove unnecessary uniforms 2021-06-10 18:07:26 +02:00
justin 95f8e57e45 Remove unnecessary uniforms 2021-06-10 17:00:53 +02:00
justin 79d2c73dcf Remove Maybe from custom unis 2021-06-10 16:54:21 +02:00
justin 0b76062475 Add world default 2021-06-10 15:46:41 +02:00
justin 0a8370c7c6 Commit before fully removing uniforms other than the matrix 2021-06-10 15:45:52 +02:00
justin aa30f6b969 Implement foreground correctly, not with shadows though 2021-06-10 13:53:03 +02:00
justin 21a4393ad9 Remove references to unused uniforms 2021-06-10 12:24:12 +02:00
justin 78cfdc2d38 Clean up cruft in arc shader 2021-06-10 11:55:22 +02:00
justin e016d3aa9e Refactor arc shader so it uses only matrix uniform 2021-06-10 11:52:39 +02:00
justin 822db37a58 Commit before attempt to unify picture rendering 2021-06-09 21:32:26 +02:00
justin 71d9a24eed Add textures 2021-06-09 15:28:15 +02:00