Commit Graph

17 Commits

Author SHA1 Message Date
Tim Anema
7db34a4a02 made better shadow body calculations so that the z coordinate of the light effects the cast light 2014-11-28 10:20:00 -05:00
Tim Anema
b768c5479a fixed the light drawing with translation and scaling 2014-10-28 20:47:46 -04:00
Tim Anema
a1d6d33ab5 fixed spelling mistakes 2014-10-27 21:32:51 -04:00
Guard13007
290d39bcd5 load from anywhere 2014-10-27 12:20:56 -07:00
Tim Anema
302bd42d5f minimized methods again 2014-10-26 15:35:53 -04:00
Tim Anema
e9a98dbcee made the postshader be more easily extendable 2014-10-23 21:35:35 -04:00
Tim Anema
537ff2522c converted the complex example to use the proper way of transformation 2014-10-23 08:25:12 -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
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
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
9579dc0b15 refactor to update only the elements that are being drawn 2014-09-27 17:18:54 -04:00
Tim Anema
9dd4e53119 light world no longer has any more globals 2014-09-27 13:46:46 -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
Marcus Ihde
88b5014326 Add example browser. 2014-04-08 19:45:21 +02:00