Files
LifeProject/LifeGraphics/renderpath/RenderPathOmniShadow.h
T

27 lines
577 B
C++
Raw Normal View History

2025-05-13 02:46:21 +03:00
#ifndef RenderPathOmniShadow_h__
#define RenderPathOmniShadow_h__
#include "renderpath/IRenderPathShadow.h"
#include "constants.h"
namespace LifeGraphics { namespace RenderPath
{
class RenderPathOmniShadow : public IRenderPathShadow
{
public:
RenderPathOmniShadow(ShadowMapManager* sm);
~RenderPathOmniShadow();
void SetLight(const Light& _light);
void Render(IScene* pScene);
ITexture2D* GetShadowMap()
{
return renderTarget;
}
protected:
Camera cam[6];
ITexture2D* depthTarget;
ITexture2D* renderTarget;
};
}}
#endif // RenderPathOmniShadow_h__