*
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#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__
|
||||
Reference in New Issue
Block a user