jiangzhi.xie
|
9d48adb46b
|
Fix colors
|
2019-09-08 12:44:10 +08: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 |
|
Rain Gloom
|
44fa3d4651
|
Fixed a typo in complex.lua
|
2015-07-25 01:02:03 +02:00 |
|
Tim Anema
|
7852da20d6
|
scaled circles and fixed complex refractions example
|
2015-02-18 16:20:21 -05:00 |
|
Tim Anema
|
115d64f51f
|
working on rotation and scaling of light bodies
|
2015-01-30 14:35:49 -05:00 |
|
Tim Anema
|
691da848de
|
added image stencils for objects so shadows are properly stenciled, and made it so that object that dont cast shadows have shadows cast over them.
|
2015-01-03 22:18:48 -05:00 |
|
Tim Anema
|
456a29ce95
|
set shadow blur in two examples so they look better
|
2014-12-22 10:25:39 -05:00 |
|
Tim Anema
|
4e5158601a
|
optimizing range checking now update is required
|
2014-12-21 13:14:46 -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
|
4a969a0aec
|
fixed creation of bodies so that they all use x and y as the center point and not center and topleft
|
2014-12-10 21:06:12 -05:00 |
|
Tim Anema
|
75980bba74
|
added STI example with fixed STI THANKS karai17!
|
2014-12-05 23:35:32 -05:00 |
|
Tim Anema
|
0b3cc0e4a7
|
fixed example of chromatic abberation in complex
|
2014-12-05 15:46:05 -05:00 |
|
Tim Anema
|
2282d9ea33
|
fixed camera examples
|
2014-12-05 09:38:21 -05:00 |
|
Tim Anema
|
8e30cacae0
|
finish up implementing the animation setup, through anim8proxy
|
2014-12-04 21:57:54 -05:00 |
|
Tim Anema
|
5a60d1f1ca
|
added a better normal map and an unlit example side by side
|
2014-12-04 16:56:48 -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
|
224822de31
|
took out uneeded example now that normals are generated and updated my progress
|
2014-12-02 10:08:04 -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
|
0a2da63f24
|
added image shadows, took out useless code
|
2014-11-29 20:19:03 -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 |
|
Tim Anema
|
5572d5135a
|
Merge pull request #5 from qrap/master
Load from any directory
|
2014-10-27 19:03:46 -04:00 |
|
Guard13007
|
2063472fe2
|
fixed normalMap require
|
2014-10-27 12:24:28 -07:00 |
|
Guard13007
|
290d39bcd5
|
load from anywhere
|
2014-10-27 12:20:56 -07:00 |
|
Paul Liverman
|
fdad8ee6d6
|
Fixed translate in postshaders.lua example
|
2014-10-27 12:19:16 -07:00 |
|
Tim Anema
|
59f8a4a880
|
added a normal mapping example
|
2014-10-27 14:43:58 -04: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
|
537ff2522c
|
converted the complex example to use the proper way of transformation
|
2014-10-23 08:25:12 -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 |
|