Add flat shading + little render refactoring.