@Override
    public void load() {
    
        if (vertexLocation != null) {
            ResourceText txt = ResourceManager.getText(vertexLocation);
            txt.load();
            vertexSource = txt.getText();
        }
        if (fragmentLocation != null) {
            ResourceText txt = ResourceManager.getText(fragmentLocation);
            txt.load();
            fragmentSource = txt.getText();
        }
        
        if (vertexSource == null || fragmentSource == null) {
            new KatamaException("Could not load shader, missing some code!", "Vertex shader: " + (vertexSource != null ? "found" : "NOT FOUND!"),
                    "Fragment shader: " + (fragmentSource != null ? "found" : "NOT FOUND!")).printStackTrace();
            System.exit(-1);
        }
    }