Commit Graph

60 Commits

Author SHA1 Message Date
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 e6c76da6b3 Implement textured walls 2021-03-21 20:09:11 +01:00
justin a7591bb1d7 Add wallFace shaders files 2021-03-21 18:55:33 +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 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 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 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 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 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 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 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 33017a599b Refactor loading of background shader 2021-03-11 19:18:52 +01:00
justin a2fa713bde Continue refactoring shaders 2021-03-10 21:22:52 +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 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 f92075263f Correct text scaling 2021-03-07 23:34:37 +01:00
justin 80a38eca58 Commit before changing text rendering 2021-03-07 18:21:45 +01:00
justin 37822c3ad2 Track new shaders 2021-03-05 20:24:49 +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 18492f00d2 Commit before connecting each vao to unique vbos 2021-03-02 00:54:00 +01:00
justin bb05bcaaf1 Commit before picture change 2021-02-28 21:26:20 +01:00
justin 4a85177522 Make wall points for shadows use matrix uniform transformation 2021-02-27 02:36:52 +01:00
justin 3b4b387943 Include tick counting code 2021-02-27 02:09:04 +01:00
justin 4fc6917741 Couple loop with preload to allow for time "profiling" 2021-02-26 00:05:27 +01:00
justin 9575eab230 Create world matrix uniform 2021-02-25 23:30:02 +01:00
justin 37e26dcb07 Implement translation rotation zoom using uniform buffers, improvement? 2021-02-25 04:14:52 +01:00
justin 32bfab2e02 Work towards doing transformations using uniforms 2021-02-25 03:41:19 +01:00