Commit Graph

  • 1527ee3069 Start to create wallFace shader justin 2021-03-21 17:34:17 +01:00
  • 279f928375 Refactor shader creation justin 2021-03-21 17:10:10 +01:00
  • 1ecbe2375d Refactor wall drawing justin 2021-03-21 15:38:58 +01:00
  • 6cb87b4d28 Tweak automatic zooming justin 2021-03-21 14:15:01 +01:00
  • ca14e3675b Refactor wall face drawing justin 2021-03-21 13:51:58 +01:00
  • 779c858a2c Make windows render over walls justin 2021-03-21 13:43:23 +01:00
  • a34c578786 Combine Door and AutoDoor type constructors, add doorPathable field justin 2021-03-21 13:33:57 +01:00
  • 8108772894 Fix block wall rendering justin 2021-03-21 13:19:38 +01:00
  • 19fa3c1667 Fix autodoor wall rendering justin 2021-03-21 13:10:07 +01:00
  • 4a0546ab3f update gitignore Ross 2021-03-21 12:08:49 +00:00
  • 4dc1f8e6bf Remove dummy vbo justin 2021-03-21 12:54:55 +01:00
  • cf5a8b3e1b Reorganise shaders justin 2021-03-21 12:50:27 +01:00
  • a8ebf2f7f1 Draw floor of windows justin 2021-03-21 12:27:57 +01:00
  • e7b4e54f9a Add lighting on walls, imperfect justin 2021-03-21 11:11:44 +01:00
  • a8aa19bb18 Refactor floor lighting shader with distance field justin 2021-03-20 20:39:55 +01:00
  • 4365185f9f Decrease muzzle flare light time justin 2021-03-20 18:51:03 +01:00
  • 19fc1f2468 Implement automatic reload justin 2021-03-20 14:08:59 +01:00
  • 0b1f7f50c3 Black out high walls justin 2021-03-20 13:28:39 +01:00
  • a2183151be Lower walls and performance improvement for shadows justin 2021-03-20 12:28:19 +01:00
  • ec46eec8e8 Add data folder (sounds/textures) justin 2021-03-19 22:11:38 +01:00
  • 1ba43f3bdc Correct shadows justin 2021-03-19 22:09:46 +01:00
  • 260bdbf675 Merge branch 'master' into PictureAsTree justin 2021-03-19 22:05:57 +01:00
  • 656c524d40 Add dependencies justin 2021-03-19 22:00:51 +01:00
  • 96502f3960 Add .gitignore justin 2021-03-19 21:58:18 +01:00
  • 598061d277 Add MatrixHelper folder justin 2021-03-19 21:54:34 +01:00
  • bd7a5c3533 Correct projected wall shadows when there is an offset camera justin 2021-03-19 15:51:11 +01:00
  • 5a7be55e24 Project wall shadows onto other walls justin 2021-03-19 12:40:07 +01:00
  • e079289349 Remove inputs to wallShadow shader justin 2021-03-19 01:01:22 +01:00
  • e6dd845511 Commit before changes to wallShadow shaders justin 2021-03-19 00:45:26 +01:00
  • 7324ed5eee Commit before attempting to use volume shadows for walls justin 2021-03-18 18:41:16 +01:00
  • 5ea831203a Use stencil to black out floor shadows justin 2021-03-18 17:53:17 +01:00
  • 447268117c Draw walls using perspective divide justin 2021-03-18 12:58:17 +01:00
  • e98e7256d2 Lights only affect floors justin 2021-03-17 20:10:43 +01:00
  • ea7b6f857e Remove wall sight occlusion for lighting changes justin 2021-03-17 20:05:53 +01:00
  • b68e39ba2f Draw shadows in a framebuffer object justin 2021-03-16 21:47:00 +01:00
  • 3707954913 Partially implement a framebuffer object for bluring shadows justin 2021-03-16 20:27:05 +01:00
  • 76a4731785 Abstract out random offset for weapons justin 2021-03-16 14:32:30 +01:00
  • f18bf2348a Abstract out direction accuracy justin 2021-03-16 14:16:27 +01:00
  • 875679d25f Tweak parameters on bezier gun, abstract out random accuracy direction justin 2021-03-16 13:56:19 +01:00
  • ca5ff88522 Split UseItem module justin 2021-03-16 11:54:41 +01:00
  • 97fd7f5576 Make bezier gun target on scroll justin 2021-03-16 11:33:47 +01:00
  • 24aede4cac Replace bresenham with digitalLine justin 2021-03-16 00:34:54 +01:00
  • f939535657 Narrow down non-termination to thingsHit[LongLine] justin 2021-03-15 19:36:33 +01:00
  • 370f41738c Narrow down problem, probably with bullets hitting creature justin 2021-03-15 14:32:30 +01:00
  • 0519635a27 Implement collisions for bez bullets, creates infinite loop sometimes justin 2021-03-15 14:11:35 +01:00
  • a5e0dc65da Initial implementation of bezier bullet justin 2021-03-15 13:11:01 +01:00
  • 5ce9b4487b Commit before work on beziergun justin 2021-03-14 12:05:27 +01:00
  • b0c8c10658 Render bezier curves using distance fields justin 2021-03-14 00:13:29 +01:00
  • 3aefb8319d Continue changes to quadratic bezier rendering justin 2021-03-13 23:14:37 +01:00
  • 152d017e39 Improve bezier curve rendering justin 2021-03-13 14:09:49 +01:00
  • 8f3b5d0bfe Determine bug in bezier curve rendering justin 2021-03-13 12:58:20 +01:00
  • 9aa6fec418 Debug bezier quad, doesn't draw straighter lines well justin 2021-03-12 22:17:48 +01:00
  • 95c9610b74 Small cleanup, delete unneeded code justin 2021-03-12 21:17:24 +01:00
  • 918f7d23b8 Implement color for quadratic bezier curves justin 2021-03-12 19:10:14 +01:00
  • 4ed72e263b Implement varying width in bezierQuad justin 2021-03-12 17:35:13 +01:00
  • 0489a092bc First implementation of quadratic bezier curve shader justin 2021-03-12 15:25:07 +01:00
  • 6f1f817ed3 Modularise triggers for weapons justin 2021-03-12 02:54:15 +01:00
  • 22275beb89 Modularise code concerning items justin 2021-03-12 02:29:24 +01:00
  • 9bdc6fddd7 Fix arc rendering bug (make vertex attribs correct size) justin 2021-03-12 01:22:10 +01:00
  • e8e3dd8f50 Refactor level/room generation modules justin 2021-03-11 22:08:35 +01:00
  • 2d995339b9 Free vao pointers at end justin 2021-03-11 19:42:29 +01:00
  • 33017a599b Refactor loading of background shader justin 2021-03-11 19:18:52 +01:00
  • 6c378659b2 Refactor light source and wall shadow shaders justin 2021-03-11 01:16:42 +01:00
  • e2c35b21bc Refactor picture rendering code justin 2021-03-10 22:45:43 +01:00
  • a2fa713bde Continue refactoring shaders justin 2021-03-10 21:22:52 +01:00
  • 4a455cc7c9 First pass deletion, increases perfomance significantly justin 2021-03-10 19:44:59 +01:00
  • 06a8ae7c99 Refactor shaders, commit before major deletion of old code justin 2021-03-10 19:34:15 +01:00
  • da86de6918 Partial refactor of shader loading and drawing justin 2021-03-10 18:45:59 +01:00
  • b4b77fe345 Inlined bindArrayBuffers, seemed to improve perfomance justin 2021-03-10 17:19:41 +01:00
  • fe2abc9266 Pre shader refactor commit justin 2021-03-10 14:31:50 +01:00
  • d3c8504d21 Allow for interpolating colors from center to edge of ellipses justin 2021-03-10 12:12:59 +01:00
  • 5a16086743 Add hud module justin 2021-03-10 05:10:45 +01:00
  • 64df420020 Improve hud rendering justin 2021-03-10 05:10:10 +01:00
  • 0174e0ac07 Return flamethrower rendering to last gloss state justin 2021-03-10 04:13:33 +01:00
  • f729e5a298 Render circles as ellipses, allows for proper scaling justin 2021-03-10 04:09:18 +01:00
  • cc86a701db Improve ellipses justin 2021-03-10 03:59:38 +01:00
  • cddf7d1f8f Partially working ellipse shader justin 2021-03-10 03:29:10 +01:00
  • bfbd0b6fef Rename fadeCircle shaders to lightmapCircle justin 2021-03-09 11:08:56 +01:00
  • c29aa46bc5 Fix creature glare direction justin 2021-03-09 01:50:12 +01:00
  • aa74075e3f Fix weapon scroll bug justin 2021-03-09 01:36:30 +01:00
  • 2310bd1b09 Improve control over floor items and buttons justin 2021-03-09 01:18:44 +01:00
  • 13cc9501a7 Improve inventory management, item pickup to cursor pos justin 2021-03-08 19:26:12 +01:00
  • c8705a88c2 Improve floor item labels justin 2021-03-08 19:09:24 +01:00
  • 9f58066dba Make buttons without labels inactive justin 2021-03-08 17:03:58 +01:00
  • 70f8914767 Fix button label rendering justin 2021-03-08 15:17:33 +01:00
  • dd5e49dccc Fix rotation on floor item labels justin 2021-03-08 02:05:55 +01:00
  • b547df9547 Reimplement floor item label cursors justin 2021-03-08 01:56:47 +01:00
  • 79b6a4fc32 Improve cursor rendering justin 2021-03-08 00:25:57 +01:00
  • c9ae76594b Improve inventory rendering justin 2021-03-07 23:55:09 +01:00
  • f92075263f Correct text scaling justin 2021-03-07 23:34:37 +01:00
  • 80a38eca58 Commit before changing text rendering justin 2021-03-07 18:21:45 +01:00
  • 6d34b79764 Increase door room width justin 2021-03-07 13:02:09 +01:00
  • baed2716da Split trigger door module, improve trigger door shadows justin 2021-03-06 14:03:28 +01:00
  • 36bccebed9 Split autodoor module justin 2021-03-06 13:12:18 +01:00
  • e9eed18666 Thicken autodoors to allow shadows to cover them justin 2021-03-06 12:28:26 +01:00
  • d57bfcf354 General improvement to shadows justin 2021-03-06 12:23:19 +01:00
  • 079f4deecf Add submodules of levelgen justin 2021-03-05 20:25:25 +01:00
  • 37822c3ad2 Track new shaders justin 2021-03-05 20:24:49 +01:00
  • bd16ad2a2a Reorganise block module justin 2021-03-05 20:24:12 +01:00
  • fdca8a8760 Remove space leak on autoDoorPane (hopefully) justin 2021-03-05 15:27:47 +01:00