renderer
Struct ShadowMapInternals
in ShadowMap.cpp
- struct ShadowMapInternals
Construction/Destruction
DepthTextureBits
public int DepthTextureBits;
EffectiveHeight
public int EffectiveHeight;
EffectiveWidth
public int EffectiveWidth;
Framebuffer
public GLuint Framebuffer;
Height
public int Height;
InvLightTransform
public CMatrix3D InvLightTransform;
LightProjection
public CMatrix3D LightProjection;
LightspaceCamera
public CCamera LightspaceCamera;
LightTransform
public CMatrix3D LightTransform;
ShadowBound
public CBound ShadowBound;
Texture
public GLuint Texture;
TextureMatrix
public CMatrix3D TextureMatrix;
UseDepthTexture
public bool UseDepthTexture;
Width
public int Width;
CalcShadowMatrices
public void CalcShadowMatrices();
- Create the shadow map
CreateTexture
public void CreateTexture();
- Set up to render into shadow map texture