Directional Shdaows, no alpha
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#include "../components/HydraShadowSourceComponent.h"
|
||||
#include <GLMIncludes.h>
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
|
||||
class HydraShadowSourceSystem : public HydraSystem
|
||||
{
|
||||
@@ -16,9 +18,11 @@ class HydraShadowSourceSystem : public HydraSystem
|
||||
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;
|
||||
|
||||
void _WriteToGPU();
|
||||
HydraID m_shadow_buffer_id = INVALID_HYDRA_ID;
|
||||
std::queue<HydraID> m_available_shadows;
|
||||
std::vector<HydraShadowSourceComponent> m_shadows;
|
||||
std::mutex m_mutex;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user