*
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#ifndef RenderPathSpotShadow_h__
|
||||
#define RenderPathSpotShadow_h__
|
||||
|
||||
#include "renderpath/IRenderPathShadow.h"
|
||||
|
||||
namespace LifeGraphics
|
||||
{
|
||||
namespace RenderPath
|
||||
{
|
||||
class RenderPathSpotShadow : public IRenderPathShadow
|
||||
{
|
||||
public:
|
||||
RenderPathSpotShadow(ShadowMapManager* sm);
|
||||
~RenderPathSpotShadow();
|
||||
void Render(LifeGraphics::IScene* pScene);
|
||||
void SetLight(const Light& _light);
|
||||
ITexture2D* GetShadowMap()
|
||||
{
|
||||
return renderTarget;
|
||||
}
|
||||
private:
|
||||
ITexture2D* depthTarget;
|
||||
ITexture2D* renderTarget;
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif // RenderPathSpotShadow_h__
|
||||
Reference in New Issue
Block a user