Point light working

This commit is contained in:
Confideo-IOM
2026-08-16 13:47:11 +01:00
parent f9b696f9e8
commit 98ff54c106
50 changed files with 1187 additions and 357 deletions
@@ -0,0 +1,18 @@
#ifndef HYDRAPOINTSHADOWSOUCECOMPONENT
#define HYDRAPOINTSHADOWSOUCECOMPONENT
#include "../../engine/HydraEngine.h"
struct HydraPointShadowSourceComponent
{
uint32_t entity_id;
uint32_t shadow_id;
uint32_t shadow_texture_id;
uint32_t frame_buffer_id;
float near_plane;
float far_plane;
uint32_t padding[2];
glm::mat4 light_space_proj;
glm::mat4 light_space_view[6];
};
#endif /* HYDRAPOINTSHADOWSOUCECOMPONENT */