Just one cube.
Model compiles its own shader.
Only uses shader that model compiled.
Renamed a variable.
Use Matrix4 instead of Vector3.
Removed unused Shader code.
MeshInstances structure added.
ModelRenderer uses uniform blocks now.
instances is now an array.
Shader sets array uniform now.
Shader modified for std140 layout.
INSTANCING WORKS FINALLY
Branch fixed?
Branch really fixed. Instancing works.
10k instanced cubes.