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
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
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
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
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
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
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