Commit Graph

14 Commits

Author SHA1 Message Date
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 7135ebab6b Revamp the shader and lighting system 2019-03-16 20:12:35 +01:00
Peder Bergebakken Sundt c699330ab5 Move hudNode out of root node, remove HUD node type, make main loop fetch window size and propagate it though update and render calls 2019-03-16 18:01:10 +01:00
Peder Bergebakken Sundt ce277dfce5 Chang the custom node shaders to be inherited by the children if left to nullptr 2019-03-16 16:48:06 +01:00
Peder Bergebakken Sundt 019bc2919e Move default values from constructor in SceneNode 2019-03-16 16:33:20 +01:00
Peder Bergebakken Sundt eac8fcdf9e Clean up VAO and texture IDs. I don't want to manage those 2019-03-15 18:09:20 +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 88376587e5 Clean up some types here and there 2019-03-15 16:34:17 +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
bartvbl a430863701 Initial release 2019-02-04 18:34:28 +01:00