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
8ddb4138b1
updating shaders so I dont have to pass in screen sizes
2014-12-13 16:47:48 -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
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
0a2da63f24
added image shadows, took out useless code
2014-11-29 20:19:03 -05:00
Tim Anema
117d908ad7
one light now works I need to figure out a way of doing multiple lights
2014-11-29 19:10:15 -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
aa3675d7ad
just renaming some things
2014-11-29 08:54:43 -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
c370e9ecc2
just some reformatting
2014-11-07 09:21:41 -05: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
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
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
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