Commit Graph

156 Commits

Author SHA1 Message Date
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 279f928375 Refactor shader creation 2021-03-21 17:10:10 +01:00
justin 1ecbe2375d Refactor wall drawing 2021-03-21 15:38:58 +01:00
justin 6cb87b4d28 Tweak automatic zooming 2021-03-21 14:15:01 +01:00
justin ca14e3675b Refactor wall face drawing 2021-03-21 13:51:58 +01:00
justin 779c858a2c Make windows render over walls 2021-03-21 13:43:23 +01:00
justin a34c578786 Combine Door and AutoDoor type constructors, add doorPathable field 2021-03-21 13:33:57 +01:00
justin 8108772894 Fix block wall rendering 2021-03-21 13:19:38 +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 a8ebf2f7f1 Draw floor of windows 2021-03-21 12:27:57 +01:00
justin e7b4e54f9a Add lighting on walls, imperfect 2021-03-21 11:11:44 +01:00
justin a8aa19bb18 Refactor floor lighting shader with distance field 2021-03-20 20:39:55 +01:00
justin 4365185f9f Decrease muzzle flare light time 2021-03-20 18:51:03 +01:00
justin 19fc1f2468 Implement automatic reload 2021-03-20 14:08:59 +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 ec46eec8e8 Add data folder (sounds/textures) 2021-03-19 22:11:38 +01:00
justin 1ba43f3bdc Correct shadows 2021-03-19 22:09:46 +01:00
justin 260bdbf675 Merge branch 'master' into PictureAsTree 2021-03-19 22:05:57 +01:00
justin 656c524d40 Add dependencies 2021-03-19 22:00:51 +01:00
justin 96502f3960 Add .gitignore 2021-03-19 21:58:18 +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 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 7324ed5eee Commit before attempting to use volume shadows for walls 2021-03-18 18:41:16 +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 e98e7256d2 Lights only affect floors 2021-03-17 20:10:43 +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