From ee9c7040e9a42747ebaf0eebcf3d53fc9dcd9368 Mon Sep 17 00:00:00 2001 From: Anselme Date: Mon, 14 Dec 2015 11:56:15 +0100 Subject: [PATCH] fixed shadowmap init --- light.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();