Commit Graph

84 Commits

Author SHA1 Message Date
justin b252c52ffe Add surface lighting shader 2021-06-25 02:27:33 +02:00
justin b6feccd934 Make light position uniform 3d 2021-06-25 01:19:20 +02:00
justin b451953b99 Refactor lighting shaders 2021-06-25 00:44:45 +02:00
justin 6320093473 Fix ellipse shader coordinates 2021-06-24 21:20:14 +02:00
justin 97598bc171 Replace explicit matrix uniforms with single ubo 2021-06-24 17:58:15 +02:00
justin 7ab932db93 Update twoD shaders 2021-06-24 17:35:50 +02:00
justin 93936346f7 Add uniform buffer window coordinate matrix 2021-06-24 17:17:30 +02:00
justin 9c94ec93bd First pass at using UBO 2021-06-24 16:17:43 +02:00
justin 45194273e5 Refactor arc drawing 2021-06-24 13:34:11 +02:00
justin 9f1b501388 Refactor rendering 2021-06-23 15:16:30 +02:00
justin 899c1c5f6e Refactor text rendering 2021-06-23 01:35:38 +02:00
justin 73bd407c49 Implement texture atlas, details on why it works unclear 2021-06-14 16:24:10 +02:00
justin afece392f7 Add texture shaders 2021-06-11 19:41:39 +02:00
justin 02511afa80 Remove unnecessary uniforms 2021-06-10 18:07:26 +02:00
justin 0a8370c7c6 Commit before fully removing uniforms other than the matrix 2021-06-10 15:45:52 +02:00
justin 21a4393ad9 Remove references to unused uniforms 2021-06-10 12:24:12 +02:00
justin 78cfdc2d38 Clean up cruft in arc shader 2021-06-10 11:55:22 +02:00
justin e016d3aa9e Refactor arc shader so it uses only matrix uniform 2021-06-10 11:52:39 +02:00
justin 822db37a58 Commit before attempt to unify picture rendering 2021-06-09 21:32:26 +02:00
justin 0b8ac97fe9 Modularise item data, change tesla arc from projectile to particle 2021-06-06 16:08:56 +02:00
justin 30c09d3403 Tweak fullscreen texture shaders 2021-05-01 15:03:17 +02:00
justin 7711738b3b Add blurring of lightmap (and refactoring) 2021-05-01 02:28:04 +02:00
justin c8e84c775f Linting, refactor random angle walk for flamer 2021-04-30 13:21:37 +02:00
justin 750a67ea6e Implement different shadow resolutions 2021-04-28 23:16:42 +02:00
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