Commit Graph

80 Commits

Author SHA1 Message Date
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
justin 1ba43f3bdc Correct shadows 2021-03-19 22:09:46 +01:00
justin 598061d277 Add MatrixHelper folder 2021-03-19 21:54:34 +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 e6dd845511 Commit before changes to wallShadow shaders 2021-03-19 00:45:26 +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 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 b4b77fe345 Inlined bindArrayBuffers, seemed to improve perfomance 2021-03-10 17:19:41 +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
justin f729e5a298 Render circles as ellipses, allows for proper scaling 2021-03-10 04:09:18 +01:00
justin cc86a701db Improve ellipses 2021-03-10 03:59:38 +01:00
justin cddf7d1f8f Partially working ellipse shader 2021-03-10 03:29:10 +01:00
justin bfbd0b6fef Rename fadeCircle shaders to lightmapCircle 2021-03-09 11:08:56 +01:00
justin 79b6a4fc32 Improve cursor rendering 2021-03-08 00:25:57 +01:00
justin f92075263f Correct text scaling 2021-03-07 23:34:37 +01:00
justin 5f8b5881e5 Improve shadows for static walls 2021-03-05 13:40:34 +01:00
justin 8ed8c48ffe Fix arc rendering, allowing them to rotate 2021-03-02 20:15:32 +01:00
justin 81f5385710 Vaious improvements to rendering performance, now runs at ok speed 2021-03-02 01:28:53 +01:00