Commit Graph

18 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt 2164551e25 Cleanup in the shaders, making them look prettier and a bit more optimized 2019-03-22 23:50:03 +01:00
Peder Bergebakken Sundt d7df5e5ab1 Minor cleanups and fix spotlights 2019-03-20 00:21:51 +01:00
Peder Bergebakken Sundt 1d7c297257 Minor modifications to the scene 2019-03-19 20:24:59 +01:00
Peder Bergebakken Sundt 5518d8e7ee Add reflection mapping 2019-03-19 20:23:16 +01:00
Peder Bergebakken Sundt 3a6181f239 Revamp color system, again. Moving color components to scene objects instead 2019-03-19 20:11:52 +01:00
Peder Bergebakken Sundt 29defbaba9 Add vertex color array 2019-03-18 11:48:11 +01:00
Peder Bergebakken Sundt c9e4332a65 Add displacement mapping with TBN being affected 2019-03-17 15:17:44 +01:00
Peder Bergebakken Sundt 15dfce421e Fix specular light component
account for the component being negative, and fix a typo
2019-03-16 20:50:39 +01:00
Peder Bergebakken Sundt 7135ebab6b Revamp the shader and lighting system 2019-03-16 20:12:35 +01:00
Peder Bergebakken Sundt 3141f6aca0 Allow to set mirror repeat on textures, move texture loading into global scope 2019-03-16 00:07:54 +01:00
Peder Bergebakken Sundt 06e6ce7494 cleanup 2019-03-15 21:22:41 +01:00
Peder Bergebakken Sundt 1b05c0ac82 Move MV transform of lights from fragmentshader to cpu 2019-03-15 17:29:59 +01:00
Peder Bergebakken Sundt da7a29a2d1 Make it possible ot have different shaders along scene graph 2019-03-15 16:45:06 +01:00
Peder Bergebakken Sundt e00637d46d Make uniforms named 2019-03-15 16:26:31 +01:00
Peder Bergebakken Sundt 9378c685a8 Do ex2 2019-03-14 12:43:41 +01:00
Peder Bergebakken Sundt 4247ae3659 ex1 done 2019-02-19 16:21:05 +01:00
Bart van Blokland 4645e40b62 Updated code handout for assignment 2 2019-02-18 17:52:50 +01:00
bartvbl a430863701 Initial release 2019-02-04 18:34:28 +01:00