Shadows - need to fix frame buffers
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define HYDRASHADOWSOURCESYSTEM
|
||||
#include "../../engine/HydraObject.h"
|
||||
#include "../HydraSystem.h"
|
||||
#include "../components/HydraShadowSourceComponent.h"
|
||||
#include <GLMIncludes.h>
|
||||
#include <queue>
|
||||
|
||||
@@ -10,8 +11,15 @@ class HydraShadowSourceSystem : public HydraSystem
|
||||
public:
|
||||
virtual void Initialise() override;
|
||||
protected:
|
||||
virtual void InitialiseComponent(HydraID entity_id) override;
|
||||
void UpdateSystem(float delta_t_seconds) override {}
|
||||
void InitialiseComponent(HydraID entity_id) override;
|
||||
void UpdateSystem(float delta_t_seconds) override;
|
||||
private:
|
||||
void _UpdateDirectionalLight(HydraID entity_id);
|
||||
void _InitialiseDirectionalLight(HydraID entity_id);
|
||||
void _WriteToGPU(std::vector<HydraShadowSourceComponent> shadows);
|
||||
HydraID m_shadow_buffer_id = INVALID_HYDRA_ID;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif /* HYDRASHADOWCASTERSYSTEM */
|
||||
|
||||
Reference in New Issue
Block a user