The camera matrix is sent to the GPU only if the current shader program has changed.
Add support for float array uniforms
Add a basic color shader program
Add a basic color shader program
Add function to check if a Material has a texture
Add tutorial 5. Colored unlit cube.
Comment out some code and add some to make tutorial 5 work.
This is horrible right now, everything is hardcoded and does not work on the general case.
Next step is to make this generic for different kind of vertex structures.