Improving the rendering systems to work with shaders and also the fixed pipeline optionally