Tim Anema
|
8cbb10f80d
|
hopefully some faster shadow calculations
|
2014-12-17 23:16:29 -05:00 |
|
Tim Anema
|
80a2d2e389
|
just some util changes
|
2014-12-16 17:14:16 -05:00 |
|
Tim Anema
|
297952673b
|
just some refactoring
|
2014-12-14 13:17:56 -05:00 |
|
Tim Anema
|
5208475e18
|
just some light screen presence checking
|
2014-12-14 12:47:20 -05:00 |
|
Tim Anema
|
eeb0cc7ca9
|
dont need that variable anymore
|
2014-12-14 01:22:19 -05:00 |
|
Tim Anema
|
08627c3c50
|
slimming down and optimization of shadow shader
|
2014-12-14 01:14:42 -05:00 |
|
Tim Anema
|
81bcb0e347
|
really simplified directional lights
|
2014-12-14 00:07:39 -05:00 |
|
Tim Anema
|
6ae929fbeb
|
just a few refactors and simplified the short version to be optimal
|
2014-12-13 23:41:57 -05:00 |
|
Tim Anema
|
41058d5d5b
|
big optimizations to the polygon shadow calculations
|
2014-12-13 23:15:39 -05:00 |
|
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
|
8ddb4138b1
|
updating shaders so I dont have to pass in screen sizes
|
2014-12-13 16:47:48 -05:00 |
|
Tim Anema
|
6c87407a6f
|
took out debug box in short exammple
|
2014-12-11 22:00:06 -05:00 |
|
Tim Anema
|
485e314539
|
Merge branch 'master' of github.com:tanema/light_world.lua
|
2014-12-11 21:59:04 -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
|
9272e6e2e2
|
added back in some options in the short example to give a better refraction example
|
2014-12-10 21:42:04 -05:00 |
|
Tim Anema
|
3c559635e9
|
better screen range checking
|
2014-12-10 21:31:17 -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
|
29436e4207
|
renamed a variable to be more apltly named
|
2014-12-06 12:33:00 -05:00 |
|
Tim Anema
|
ab5023404c
|
took out inital setting for glow blur because it make my short examples look too fuzzy
|
2014-12-06 12:31:22 -05:00 |
|
Tim Anema
|
75980bba74
|
added STI example with fixed STI THANKS karai17!
|
2014-12-05 23:35:32 -05:00 |
|
Tim Anema
|
1bbc80f04d
|
added back in shadow blur
|
2014-12-05 17:50:33 -05:00 |
|
Tim Anema
|
0b3cc0e4a7
|
fixed example of chromatic abberation in complex
|
2014-12-05 15:46:05 -05:00 |
|
Tim Anema
|
2f19a07dc5
|
Merge branch 'master' of github.com:tanema/light_world.lua
|
2014-12-05 15:01:25 -05:00 |
|
Tim Anema
|
9911d02fd4
|
added glow map support to animations
|
2014-12-05 15:01:15 -05:00 |
|
Tim Anema
|
652d38b20d
|
Update README.md
|
2014-12-05 09:59:17 -05:00 |
|
Tim Anema
|
5a6744b1f3
|
Update README.md
|
2014-12-05 09:54:01 -05:00 |
|
Tim Anema
|
6ed3f839b1
|
Update README.md
|
2014-12-05 09:52:16 -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
|
7d5ae45a9c
|
fixed body range testing
|
2014-12-03 20:39:33 -05:00 |
|
Tim Anema
|
8d40785844
|
added in examples for common cameras
|
2014-12-03 19:22:45 -05:00 |
|
Tim Anema
|
207840c2cc
|
forgot one check
|
2014-12-03 14:09:42 -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
|
64bcbd1e94
|
circle shadow body optimizations
|
2014-12-03 09:07:20 -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
|
3f62fde726
|
fixed light range for scaling
|
2014-12-02 21:45:19 -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
|
b759a0670a
|
just a touch up
|
2014-11-30 16:00:22 -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
|
66dd1b65f8
|
added comments to the new shader and got rid of bad methods
|
2014-11-30 15:11:22 -05:00 |
|
Tim Anema
|
9e59f9ffee
|
colored shadows now work as expected with attenuated brightness and constant brightness not matter how many lights are present
|
2014-11-30 14:35:18 -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
|
012a5481e9
|
image shadows look correct again
|
2014-11-29 23:08:29 -05:00 |
|