Commit Graph

41 Commits

Author SHA1 Message Date
Tim Anema
b2b6a97f54 almost got scaling working 2014-10-03 15:41:16 -04:00
Tim Anema
b1c366e236 refactored into a normal map library which made body a bit smaller 2014-10-03 10:43:26 -04:00
Tim Anema
ae7f8f7b80 refractor redundant code in body now 2014-10-03 10:18:06 -04:00
Tim Anema
c167edccc6 small refactors because I am stuck 2014-10-02 23:04:22 -04:00
Tim Anema
73e203bd76 no more last buffer, only render buffer, render buffer is love, render buffer is life 2014-10-02 20:43:05 -04:00
Tim Anema
3d15d0832e singled out the drawing into one function with background and foreground callbacks, this will draw the refraction and reflection without the post shader 2014-10-02 20:32:31 -04:00
Tim Anema
6739da8423 isolated the update calls again in hopes to fix scaling issues, still havnt got there yet, I am thinking there is some issue with the translation at scale 2014-10-01 09:03:59 -04:00
Tim Anema
654deb165c small changes 2014-09-30 21:42:10 -04:00
Tim Anema
8aacf0f69c making it work better with a camera, now working on scaling, finally after a week or working to get here 2014-09-30 18:19:37 -04:00
Tim Anema
45be0c56fa refactoring,
taking out unused variables and redundant code, also took out debug variables. also moved the shaders in to the lib folder
for better portablility of the library
2014-09-29 10:03:34 -04:00
Tim Anema
9579dc0b15 refactor to update only the elements that are being drawn 2014-09-27 17:18:54 -04:00
Tim Anema
735d565142 split up calculate shadows a bit so it is a bit more managable 2014-09-27 15:58:15 -04:00
Tim Anema
9dd4e53119 light world no longer has any more globals 2014-09-27 13:46:46 -04:00
Tim Anema
8115657d11 split the update method up into components, easier to understand 2014-09-27 12:59:51 -04:00
Tim Anema
3502fe7d3e split the update method up into components, easier to understand 2014-09-27 12:54:48 -04:00
Tim Anema
08e50a7b2a refactor body and light code to minimize size of monolithic method 2014-09-26 18:11:23 -04:00
Tim Anema
fd58dd6a86 changed the class handling 2014-09-26 16:52:16 -04:00
Tim Anema
d56b4ca660 fixed the scanlines shader 2014-09-26 13:42:00 -04:00
Tim Anema
f2b9d62efe finished refactor so that there are no more globals to the light world 2014-09-26 13:38:55 -04:00
Tim Anema
d58fd39f7f refactoring to be a bit more sane and so I can understand the codebase a bit better 2014-09-26 12:48:46 -04:00
Tim Anema
b353eff979 fixed updating of shine drawing for translated co-ordiantes 2014-06-02 19:35:50 -04:00
Marcus Ihde
88b5014326 Add example browser. 2014-04-08 19:45:21 +02:00
Marcus Ihde
16cc91724b Add several post shader effects. 2014-03-28 03:32:32 +01:00
Marcus Ihde
5caeb12568 Add material system. 2014-03-24 05:01:07 +01:00
Marcus Ihde
e9cb98889b fix 2014-03-23 19:12:37 +01:00
Marcus Ihde
f40ccd8e4e Added image shadow. 2014-03-23 19:10:58 +01:00
Marcus Ihde
1df451ec48 Add glow animation and chromatic aberration. 2014-03-19 23:22:46 +01:00
Marcus Ihde
bae4a0db4d Add reflection. 2014-03-17 04:32:42 +01:00
Marcus Ihde
c8c7ec418a Add refraction. 2014-03-16 22:01:14 +01:00
Marcus Ihde
0eb6c5f127 Add directional light. 2014-03-16 01:12:18 +01:00
Marcus Ihde
b27fbb57f9 Bugfixes 2014-03-10 12:00:06 +01:00
Marcus Ihde
560463fdbe Improve and add poly/circle glow. 2014-03-09 18:33:34 +01:00
Marcus Ihde
3a3512083c Add colored/alpha shadow 2014-03-09 04:22:45 +01:00
Marcus Ihde
827394c87b Fix normal map gradient. 2014-03-08 21:18:40 +01:00
Marcus Ihde
249fff23ae Add heighmap converter, better normal map shader. 2014-03-08 20:48:51 +01:00
Marcus Ihde
1fbc9b0902 Add MIT License. 2014-03-07 00:16:57 +01:00
Marcus Ihde
efb7ab918b Add more methods. 2014-03-06 21:39:29 +01:00
Marcus Ihde
6a20a6f72f change vsync 2014-03-06 16:58:28 +01:00
Marcus Ihde
aa4813676d Add glow light. 2014-03-06 16:56:25 +01:00
Marcus Ihde
f23b66b7cd Add pixel selfshadows on images with normal maps 2014-03-05 06:51:33 +01:00
Marcus Ihde
d1b1b3e0fa Init project 2014-03-04 14:52:51 +01:00