Add CScriptShadowProjector

Former-commit-id: 34af5fd251
This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-08 16:10:22 +02:00
parent 1dd0e2ad4d
commit df08c87c09
8 changed files with 204 additions and 12 deletions

View File

@@ -0,0 +1,29 @@
#ifndef _CPROJECTEDSHADOW
#define _CPROJECTEDSHADOW
#include "Kyoto/Graphics/CTexture.hpp"
#include "Kyoto/Math/CAABox.hpp"
class CProjectedShadow {
public:
CProjectedShadow(int, int, uchar);
~CProjectedShadow();
void RenderShadowBuffer(CStateManager&, const CModelData&, const CTransform4f&, int,
const CVector3f&, float, float);
void SetOpacity(float opacity) { x98_opacity = opacity; }
private:
CTexture x0_texture;
CAABox x68_;
bool x80_;
bool x81_persistent;
float x84_;
CVector3f x88_;
float x94_zDistanceAdjust;
float x98_opacity;
};
CHECK_SIZEOF(CProjectedShadow, 0x9c)
#endif // _CPROJECTEDSHADOW