- class ForestShader : public PhongShader {
- public:
- ForestShader(const std::string& AssetDirectory, std::vector<Vector> pos);
- virtual ~ForestShader(){}
- virtual void assignLocations();
- virtual void activate(const BaseCamera& Cam) const;
- virtual void deactivate() const;
- protected:
- const Texture* DiffuseTexture;
- GLint OffSetLoc;
- GLint RotationMatLoc;
- Vector* offset;
- Matrix* RotationMat;
- int number;
- };