private void loadTexture(String pTextureUrl, GL2 gl) {
        if (pTextureUrl != null) {
            Path texture = FileSystems.getDefault().getPath(pTextureUrl);

            if (texture.toFile().exists()) {
                try {
                    planeTexture = TextureIO.newTexture(texture.toFile(), true);
                    planeTexture.setTexParameteri(gl, GL2.GL_TEXTURE_MIN_FILTER, GL2.GL_LINEAR);
                    planeTexture.setTexParameteri(gl, GL2.GL_TEXTURE_MAG_FILTER, GL2.GL_LINEAR);
                    planeTexture.setTexParameteri(gl, GL2.GL_TEXTURE_WRAP_S, GL2.GL_MIRRORED_REPEAT);
                    planeTexture.setTexParameteri(gl, GL2.GL_TEXTURE_WRAP_T, GL2.GL_MIRRORED_REPEAT);
                } catch (IOException | GLException ex) {
                    Logger.getLogger(Sky.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        }
    }