WIP commit, working on improving the shader pipeline to give less problems
with intel or NVidia graphics cards.
There is a bug in the material manager where if you add a shader to the
shader map, it wont work correctly anymore. For now every material gets
his own shader.