Deferred lighting now working with directional lights
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4047
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#define KREngine_KRDirectionalLight_h
|
||||
|
||||
#import "KRLight.h"
|
||||
#import "KRMat4.h"
|
||||
|
||||
class KRDirectionalLight : public KRLight {
|
||||
|
||||
@@ -23,6 +24,9 @@ public:
|
||||
|
||||
virtual void render(KRCamera *pCamera, KRContext *pContext, KRBoundingVolume &frustrumVolume, bool bRenderShadowMap, KRMat4 &viewMatrix, KRVector3 &cameraPosition, KRVector3 &lightDirection, KRMat4 *pShadowMatrices, GLuint *shadowDepthTextures, int cShadowBuffers, int gBufferPass);
|
||||
#endif
|
||||
|
||||
private:
|
||||
KRMat4 m_modelMatrix;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user