Tim Anema
|
fac5d932f2
|
making update required so that is optimizes drawing
|
2014-12-13 17:29:07 -05:00 |
|
Tim Anema
|
33fec6bfd4
|
some visible checking optimizations
|
2014-12-13 17:19:44 -05:00 |
|
Tim Anema
|
6c87407a6f
|
took out debug box in short exammple
|
2014-12-11 22:00:06 -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
|
ada9857394
|
added in initial animations
|
2014-12-04 11:42:28 -05:00 |
|
Tim Anema
|
8d40785844
|
added in examples for common cameras
|
2014-12-03 19:22:45 -05:00 |
|
Tim Anema
|
d02bc54b05
|
added in checking to see if the shadow bodies should be drawn, if they are within the screen and within range of the light
|
2014-12-03 14:08:44 -05:00 |
|
Tim Anema
|
5cbca9f63c
|
took care of default polygon normal map problems show up at edges
|
2014-12-03 08:31:09 -05:00 |
|
Tim Anema
|
c0a80da546
|
made polygons moveable
|
2014-12-02 21:26:46 -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
|
f56ef4a197
|
got the start of a shader that will do normal shading and shine at the same time, I will throw in a shadow map there too and it will do it all in one pass
|
2014-11-29 14:52:05 -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
|
3d4819cda4
|
added remove method to light world to facilitate removal of items
|
2014-11-03 17:54:15 -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 |
|
Guard13007
|
8933dec3a6
|
fixed translation examples/short.lua
|
2014-10-27 11:00:17 -07:00 |
|
Tim Anema
|
302bd42d5f
|
minimized methods again
|
2014-10-26 15:35:53 -04:00 |
|
Tim Anema
|
00331a51c1
|
added in another example for using just the postshader, and added a readme for github
|
2014-10-24 14:32:12 -04:00 |
|
Tim Anema
|
5474b11c50
|
some proper refactoring so shine and shadows code are separate
|
2014-10-23 22:41:52 -04:00 |
|
Tim Anema
|
e9a98dbcee
|
made the postshader be more easily extendable
|
2014-10-23 21:35:35 -04:00 |
|
Tim Anema
|
5e8ef63d6d
|
fixed light position
|
2014-10-23 12:17:28 -04:00 |
|
Tim Anema
|
7325cf8499
|
translation and scaling working just need to work out the proper light positioning at scale
|
2014-10-23 09:23:20 -04:00 |
|
Tim Anema
|
b976a90afe
|
just playing around with a few things, narrowed down my last issues with scaling and translation just need to figure out a workaround
|
2014-10-22 21:55:15 -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
|
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
|
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
|
9579dc0b15
|
refactor to update only the elements that are being drawn
|
2014-09-27 17:18:54 -04:00 |
|
Tim Anema
|
fd58dd6a86
|
changed the class handling
|
2014-09-26 16:52:16 -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 |
|