/*
 * GameShader.h
 *
 *  Created on: 4 nov. 2020
 *      Author: simon
 */

#ifndef RENDER_SHADERS_GAMESHADER_H_
#define RENDER_SHADERS_GAMESHADER_H_

#include "ShaderProgram.h"

class WorldShader : public ShaderProgram {
private:
	unsigned int location_cam = 0, location_zoom = 0, location_aspect_ratio = 0, location_viewtype = 0;
protected:
	void getAllUniformLocation();
public:
	WorldShader();
	void loadShader();
	void setCamPos(const glm::vec2& camPos);
	void setZoom(float zoom);
	void setAspectRatio(float aspectRatio);
	void setIsometricView(float isometric);
};

#endif /* RENDER_SHADERS_GAMESHADER_H_ */
