Commit Graph

27 Commits

Author SHA1 Message Date
355aa1d62d Remove timestamps.h, minor formatting 2019-04-02 23:25:12 +02:00
e97dfefc96 Add grain to post-shader 2019-04-01 13:09:09 +02:00
2857b5a31c Add chromatic abberation to post shader 2019-04-01 13:08:28 +02:00
e7a0d74312 Add vignette to post shader 2019-04-01 13:07:39 +02:00
c695d96158 Add depth of field to post shader 2019-04-01 13:06:56 +02:00
8a48b59c0b Calculate the focus factor z in the post shader 2019-04-01 13:05:12 +02:00
f275aef0b0 Add a framebuffer which the scene is rendered to. Render this framebuffer to screen afterwards 2019-03-31 23:47:16 +02:00
b29537273b Add backlights to car, and point components to frontlights 2019-03-29 10:41:33 +01:00
faa69754f8 Make the first light color affect the emissive colors, and fix bilinear filtering in PNGImage 2019-03-28 09:40:40 +01:00
74ffe23551 Add support for rim backlights 2019-03-28 09:35:22 +01:00
2164551e25 Cleanup in the shaders, making them look prettier and a bit more optimized 2019-03-22 23:50:03 +01:00
d7df5e5ab1 Minor cleanups and fix spotlights 2019-03-20 00:21:51 +01:00
1d7c297257 Minor modifications to the scene 2019-03-19 20:24:59 +01:00
5518d8e7ee Add reflection mapping 2019-03-19 20:23:16 +01:00
3a6181f239 Revamp color system, again. Moving color components to scene objects instead 2019-03-19 20:11:52 +01:00
29defbaba9 Add vertex color array 2019-03-18 11:48:11 +01:00
c9e4332a65 Add displacement mapping with TBN being affected 2019-03-17 15:17:44 +01:00
15dfce421e Fix specular light component
account for the component being negative, and fix a typo
2019-03-16 20:50:39 +01:00
7135ebab6b Revamp the shader and lighting system 2019-03-16 20:12:35 +01:00
3141f6aca0 Allow to set mirror repeat on textures, move texture loading into global scope 2019-03-16 00:07:54 +01:00
06e6ce7494 cleanup 2019-03-15 21:22:41 +01:00
1b05c0ac82 Move MV transform of lights from fragmentshader to cpu 2019-03-15 17:29:59 +01:00
da7a29a2d1 Make it possible ot have different shaders along scene graph 2019-03-15 16:45:06 +01:00
e00637d46d Make uniforms named 2019-03-15 16:26:31 +01:00
9378c685a8 Do ex2 2019-03-14 12:43:41 +01:00
4247ae3659 ex1 done 2019-02-19 16:21:05 +01:00
bartvbl
a430863701 Initial release 2019-02-04 18:34:28 +01:00