fixed shadowmap init
This commit is contained in:
parent
c455d31948
commit
ee9c7040e9
2
light.h
2
light.h
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user