17#ifndef GRAPHICS_GSHADOWMAP_H_
18#define GRAPHICS_GSHADOWMAP_H_
52 void setLightProjection(
float leftx,
float rightx,
float fronty,
float backy,
float nearz,
float farz);
62 bool isallocated, isactivated, isenabled;
65 glm::mat4 lightprojection, lightview, lightmatrix;
66 glm::vec3 lightposition;
69 int shadowmaptextureslot;
Definition gRenderObject.h:25
Definition gShadowMap.h:26
gLight * getLight() const
glm::mat4 getLightMatrix() const
void allocate(gLight *light, gCamera *camera, int width=4096, int height=4096)
gCamera * getCamera() const
void setLight(gLight *light)
void setLightProjection(float leftx, float rightx, float fronty, float backy, float nearz, float farz)
void setLightProjection(glm::mat4 lightProjection)
void setLightView(glm::mat4 lightView)
glm::mat4 getLightProjection() const
void setCamera(gCamera *camera)
glm::mat4 getLightView() const