Loading Shader Params Correctly

Rather than setting some parameters manually they are now all loaded
correctly.