Commit Graph

69 Commits

Author SHA1 Message Date
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 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 c9ca94e82e Add twisting weapons and feet 2021-06-07 15:03:15 +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 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 6a38950501 Linting, haddocking 2021-04-29 15:31:07 +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 ffe4a8083b Linting 2021-04-23 11:10:45 +02:00
justin f45ca2dd24 Refactor, remove dependency of Loop on Preload 2021-03-24 16:29:48 +01:00
justin 54b28db249 Implement basic config file 2021-03-22 22:40:11 +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 279f928375 Refactor shader creation 2021-03-21 17:10:10 +01:00
justin 19fa3c1667 Fix autodoor wall rendering 2021-03-21 13:10:07 +01:00
justin 4dc1f8e6bf Remove dummy vbo 2021-03-21 12:54:55 +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 bd7a5c3533 Correct projected wall shadows when there is an offset camera 2021-03-19 15:51:11 +01:00
justin 5a7be55e24 Project wall shadows onto other walls 2021-03-19 12:40:07 +01:00
justin e079289349 Remove inputs to wallShadow shader 2021-03-19 01:01:22 +01:00
justin 5ea831203a Use stencil to black out floor shadows 2021-03-18 17:53:17 +01:00
justin 447268117c Draw walls using perspective divide 2021-03-18 12:58:17 +01:00
justin ea7b6f857e Remove wall sight occlusion for lighting changes 2021-03-17 20:05:53 +01:00
justin b68e39ba2f Draw shadows in a framebuffer object 2021-03-16 21:47:00 +01:00
justin 3707954913 Partially implement a framebuffer object for bluring shadows 2021-03-16 20:27:05 +01:00
justin b0c8c10658 Render bezier curves using distance fields 2021-03-14 00:13:29 +01:00
justin 152d017e39 Improve bezier curve rendering 2021-03-13 14:09:49 +01:00
justin 918f7d23b8 Implement color for quadratic bezier curves 2021-03-12 19:10:14 +01:00
justin 0489a092bc First implementation of quadratic bezier curve shader 2021-03-12 15:25:07 +01:00
justin 9bdc6fddd7 Fix arc rendering bug (make vertex attribs correct size) 2021-03-12 01:22:10 +01:00
justin e8e3dd8f50 Refactor level/room generation modules 2021-03-11 22:08:35 +01:00
justin 2d995339b9 Free vao pointers at end 2021-03-11 19:42:29 +01:00
justin 33017a599b Refactor loading of background shader 2021-03-11 19:18:52 +01:00
justin 6c378659b2 Refactor light source and wall shadow shaders 2021-03-11 01:16:42 +01:00
justin e2c35b21bc Refactor picture rendering code 2021-03-10 22:45:43 +01:00
justin a2fa713bde Continue refactoring shaders 2021-03-10 21:22:52 +01:00
justin 4a455cc7c9 First pass deletion, increases perfomance significantly 2021-03-10 19:44:59 +01:00
justin 06a8ae7c99 Refactor shaders, commit before major deletion of old code 2021-03-10 19:34:15 +01:00
justin da86de6918 Partial refactor of shader loading and drawing 2021-03-10 18:45:59 +01:00
justin fe2abc9266 Pre shader refactor commit 2021-03-10 14:31:50 +01:00
justin d3c8504d21 Allow for interpolating colors from center to edge of ellipses 2021-03-10 12:12:59 +01:00