Commit Graph

28 Commits

Author SHA1 Message Date
Tim Anema
4e5158601a optimizing range checking now update is required 2014-12-21 13:14:46 -05:00
Tim Anema
12b2bd8b32 added back in some options in the short example to give a better refraction example 2014-12-11 21:58:18 -05:00
Tim Anema
0b3cc0e4a7 fixed example of chromatic abberation in complex 2014-12-05 15:46:05 -05:00
Tim Anema
ada9857394 added in initial animations 2014-12-04 11:42:28 -05:00
Tim Anema
c0a80da546 made polygons moveable 2014-12-02 21:26:46 -05:00
Tim Anema
ec19b3cadd added a normal map to all bodies now so drawing shine is done with just the normal shading now 2014-12-02 10:05:52 -05:00
Tim Anema
8fee299900 just cleaning up some code 2014-12-01 20:41:09 -05:00
Tim Anema
5351b91168 no longer need two callback for drawing just one, which is nice 2014-11-30 15:24:58 -05:00
Tim Anema
9c81c71f89 just a few touchups before bed 2014-11-29 23:51:44 -05:00
Tim Anema
bbcd20a27e colored shadows almost functional again 2014-11-29 23:20:02 -05:00
Tim Anema
ac5b9afa16 made the normal shading reflect the shadow calculations a bit better and isolated the examples to one directory 2014-11-28 11:14:53 -05:00
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