Commit Graph

17 Commits

Author SHA1 Message Date
Kyle McLamb
c3b462d6b3 Manually require postshaders 2016-04-30 10:26:16 -04:00
Kyle McLamb
0691826e07 Store shaders as lua strings 2016-04-30 09:37:28 -04:00
Tim Anema
127063a061 fixes for postshaders and most of the examples to use the new apis 2016-04-26 09:23:11 -04:00
leokaplan
85d4fbbba7 initial port 2016-02-03 15:45:22 +01:00
Tim Anema
1026092cbd learned how to create class like things in lua finally so I took out other peoples code 2014-12-23 16:51:07 -05:00
Tim Anema
7fe549a01a optimizations to say the least
-cut out complicated light angle calulations and instead put in a arc
stencil
-stenciled the range of each light to optimize the shader drawing
-refactors postshaders to user proper love variables
-minimized amount of canvases
-added better functionality to my canvas util
-refactored blurring to be in one place
2014-12-19 22:54:29 -05:00
Tim Anema
e9a98dbcee made the postshader be more easily extendable 2014-10-23 21:35:35 -04:00
Tim Anema
fe2a135663 almost complete converting entire project to using new canvas strategy, need to touch up the main shader to handle proper coordinates though 2014-10-22 08:37:19 -04:00
Tim Anema
0f882da300 finally coming up with a proper strategy to handle translation and zooming of canvases 2014-10-21 22:48:19 -04:00
Tim Anema
22c45f7bac trying out some new postshaders from mari0, fixed a couple bugs 2014-10-08 08:55:05 -04:00
Tim Anema
cde3349852 fixed translation problem after postshader changes 2014-10-07 09:49:56 -04:00
Tim Anema
702de1389a refactored post shader to be part of the light world but still able to use it on its own, took out globals, and made adding and removing effects independant from the draw calls 2014-10-06 17:27:41 -04:00
Tim Anema
5e0320c4bf fixe a bug in new image bodies 2014-10-06 09:31:14 -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
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
Marcus Ihde
88b5014326 Add example browser. 2014-04-08 19:45:21 +02:00