This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
@@ -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__