Commit Graph

1271 Commits

Author SHA1 Message Date
justin e079289349 Remove inputs to wallShadow shader 2021-03-19 01:01:22 +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 76a4731785 Abstract out random offset for weapons 2021-03-16 14:32:30 +01:00
justin f18bf2348a Abstract out direction accuracy 2021-03-16 14:16:27 +01:00
justin 875679d25f Tweak parameters on bezier gun, abstract out random accuracy direction 2021-03-16 13:56:19 +01:00
justin ca5ff88522 Split UseItem module 2021-03-16 11:54:41 +01:00
justin 97fd7f5576 Make bezier gun target on scroll 2021-03-16 11:33:47 +01:00
justin 24aede4cac Replace bresenham with digitalLine 2021-03-16 00:34:54 +01:00
justin f939535657 Narrow down non-termination to thingsHit[LongLine] 2021-03-15 19:36:33 +01:00
justin 370f41738c Narrow down problem, probably with bullets hitting creature 2021-03-15 14:32:30 +01:00
justin 0519635a27 Implement collisions for bez bullets, creates infinite loop sometimes 2021-03-15 14:11:35 +01:00
justin a5e0dc65da Initial implementation of bezier bullet 2021-03-15 13:11:01 +01:00
justin 5ce9b4487b Commit before work on beziergun 2021-03-14 12:05:27 +01:00
justin b0c8c10658 Render bezier curves using distance fields 2021-03-14 00:13:29 +01:00
justin 3aefb8319d Continue changes to quadratic bezier rendering 2021-03-13 23:14:37 +01:00
justin 152d017e39 Improve bezier curve rendering 2021-03-13 14:09:49 +01:00
justin 8f3b5d0bfe Determine bug in bezier curve rendering 2021-03-13 12:58:20 +01:00
justin 9aa6fec418 Debug bezier quad, doesn't draw straighter lines well 2021-03-12 22:17:48 +01:00
justin 95c9610b74 Small cleanup, delete unneeded code 2021-03-12 21:17:24 +01:00
justin 918f7d23b8 Implement color for quadratic bezier curves 2021-03-12 19:10:14 +01:00
justin 4ed72e263b Implement varying width in bezierQuad 2021-03-12 17:35:13 +01:00
justin 0489a092bc First implementation of quadratic bezier curve shader 2021-03-12 15:25:07 +01:00
justin 6f1f817ed3 Modularise triggers for weapons 2021-03-12 02:54:15 +01:00
justin 22275beb89 Modularise code concerning items 2021-03-12 02:29:24 +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 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 5a16086743 Add hud module 2021-03-10 05:10:45 +01:00
justin 64df420020 Improve hud rendering 2021-03-10 05:10:10 +01:00
justin 0174e0ac07 Return flamethrower rendering to last gloss state 2021-03-10 04:13:33 +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 c29aa46bc5 Fix creature glare direction 2021-03-09 01:50:12 +01:00