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
Tim Anema
3e25bb9a18
Merge pull request #4 from Guard13007/master
...
Fixed translate in postshaders.lua example
2014-10-27 19:03:21 -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
Tim Anema
cd2c71a538
Merge pull request #3 from qrap/master
...
Fixed translation in examples/short.lua
2014-10-27 14:03:23 -04:00
Guard13007
8933dec3a6
fixed translation examples/short.lua
2014-10-27 11:00:17 -07:00
Tim Anema
606383e0a8
Merge branch 'master' of github.com:tanema/light_world.lua
2014-10-27 09:20:12 -04:00
Tim Anema
3b98d75076
took out uneeded functions and added in easier ones
2014-10-27 09:20:01 -04:00
Tim Anema
3937c6812b
Update README.md
2014-10-27 08:11:24 -04:00
Tim Anema
0de213f7d1
Update README.md
2014-10-27 08:10:42 -04:00
Tim Anema
7ef4032471
Update README.md
2014-10-27 08:10:25 -04:00
Tim Anema
c5c66a4e3d
Update README.md
2014-10-27 08:09:45 -04:00
Tim Anema
302bd42d5f
minimized methods again
2014-10-26 15:35:53 -04:00
Tim Anema
5add341a14
minimized body methods
2014-10-26 15:27:35 -04:00
Tim Anema
8da68cc68c
Merge pull request #1 from qrap/master
...
Typo fix README.md (comments in code example)
2014-10-26 09:45:23 -04:00
Paul Liverman
bddba12664
Typo fix README.md (comments in code example)
2014-10-25 20:01:57 -07:00
Tim Anema
5c0cd33ccf
had to add myself to the license
2014-10-24 14:36:00 -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
c9fac640d7
made the range adhere to the scale as well
2014-10-24 13:34:44 -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
fe2a135663
almost complete converting entire project to using new canvas strategy, need to touch up the main shader to handle proper coordinates though
2014-10-22 08:37:19 -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
cde3349852
fixed translation problem after postshader changes
2014-10-07 09:49:56 -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
01aa79e819
scaling works mostly now but needs to resize the canvases as well
2014-10-03 20:09:52 -04:00
Tim Anema
b2b6a97f54
almost got scaling working
2014-10-03 15:41:16 -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
73e203bd76
no more last buffer, only render buffer, render buffer is love, render buffer is life
2014-10-02 20:43:05 -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
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
8115657d11
split the update method up into components, easier to understand
2014-09-27 12:59:51 -04:00
Tim Anema
3502fe7d3e
split the update method up into components, easier to understand
2014-09-27 12:54:48 -04:00