shadow start

This commit is contained in:
Confideo-IOM
2026-07-25 16:40:34 +01:00
parent 3be84d07de
commit 3810f74e81
43 changed files with 316 additions and 127 deletions
@@ -0,0 +1,17 @@
#ifndef HYDRASOURCECOMPONENT
#define HYDRASOURCECOMPONENT
#include "../../engine/HydraEngine.h"
struct HydraShadowSourceComponent
{
uint32_t entity_id;
uint32_t cascade_count;
uint32_t shadow_texture_id;
uint32_t padding0;
float near_plane[8];
float far_plane[8];
glm::mat4 projection[6];
};
#endif /* HYDRACASTERCOMPONENT */