Commit Graph

111 Commits

Author SHA1 Message Date
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 bae8a4ed94 Cleanup matrices 2021-06-24 18:49:10 +02:00
justin 97598bc171 Replace explicit matrix uniforms with single ubo 2021-06-24 17:58:15 +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 899c1c5f6e Refactor text rendering 2021-06-23 01:35:38 +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 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 7b6521587d Remove polymorphism of shader type 2021-06-11 19:41:17 +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 79d2c73dcf Remove Maybe from custom unis 2021-06-10 16:54:21 +02:00
justin 0a8370c7c6 Commit before fully removing uniforms other than the matrix 2021-06-10 15:45:52 +02:00
justin 0b8ac97fe9 Modularise item data, change tesla arc from projectile to particle 2021-06-06 16:08:56 +02:00
justin 69f915a894 Cleanup warnings 2021-05-17 22:39:18 +02:00
justin e658fdcd0b Fix resize bug, resize RenderbufferObject of ping pong framebuffers 2021-05-14 22:31:07 +02:00
justin 9cdd3a9629 Fix some menu bugs 2021-05-01 19:31:10 +02:00
justin 6eb6221a84 Grayscale post processing 2021-05-01 15:48:56 +02:00
justin 30c09d3403 Tweak fullscreen texture shaders 2021-05-01 15:03:17 +02:00
justin 7711738b3b Add blurring of lightmap (and refactoring) 2021-05-01 02:28:04 +02:00
justin c8e84c775f Linting, refactor random angle walk for flamer 2021-04-30 13:21:37 +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
justin 64b5b9e2a5 Hlinting 2021-04-27 11:45:43 +02:00
justin ffe4a8083b Linting 2021-04-23 11:10:45 +02:00
justin 1e9a07d1c8 Reorganise rendering in Dodge 2021-04-01 11:28:53 +02:00
justin e62ff391a5 Reogranise drawing in main 2021-03-31 11:27:45 +02:00
justin 89c3ff96c8 Add spawner gun 2021-03-29 23:25:48 +02:00
justin 7c9cba9ee1 Refactor flame draw 2021-03-24 19:51:10 +01:00
justin 3f86b0cda0 Implement smoke as clouds, mask colors when rendering framebuf texture 2021-03-23 23:24:40 +01:00
justin 941fef134d Implement wall penetrating bullets 2021-03-23 12:06:46 +01:00
justin 7aacaccc8c Set windows to blend, fix depth of walls again 2021-03-22 02:31:58 +01:00
justin f19f879945 Fix wall depth rendering 2021-03-22 00:05:24 +01:00
justin 5a5ca6f208 Hack wall depth, objects don't appear on top of walls (nor beneath windows) 2021-03-21 23:51:56 +01:00
justin abd7cd7ea9 Implement textures on walls, windows don't look great yet 2021-03-21 22:21:29 +01:00
justin e6c76da6b3 Implement textured walls 2021-03-21 20:09:11 +01:00
justin 23fbee3374 Set up wall rendering with textures 2021-03-21 19:45:21 +01:00
justin a7591bb1d7 Add wallFace shaders files 2021-03-21 18:55:33 +01:00
justin 1527ee3069 Start to create wallFace shader 2021-03-21 17:34:17 +01:00
justin cf5a8b3e1b Reorganise shaders 2021-03-21 12:50:27 +01:00
justin e7b4e54f9a Add lighting on walls, imperfect 2021-03-21 11:11:44 +01:00
justin 0b1f7f50c3 Black out high walls 2021-03-20 13:28:39 +01:00
justin a2183151be Lower walls and performance improvement for shadows 2021-03-20 12:28:19 +01:00