fixed shadowmap init

This commit is contained in:
Anselme 2015-12-14 11:56:15 +01:00
parent c455d31948
commit ee9c7040e9

View File

@ -42,7 +42,7 @@ public:
glm::vec3 getColor() {return color;} glm::vec3 getColor() {return color;}
bool isShadowCaster() {return shadowCaster;} bool isShadowCaster() {return shadowCaster;}
void initShadowMap(int resWidth, int resHeight); void initShadowMap(int resWidth, int resHeight, glm::vec3 dim = glm::vec3(1));
void generateShadowMap(Scene* scene); void generateShadowMap(Scene* scene);
Texture* getShadowMap(); Texture* getShadowMap();