diff --git a/light.h b/light.h index 58eb127..86c696b 100644 --- a/light.h +++ b/light.h @@ -42,7 +42,7 @@ public: glm::vec3 getColor() {return color;} 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); Texture* getShadowMap();