Files
HydraV3/HydraEngine/source/ecs/components/HydraShadowSourceComponent.h
T

19 lines
413 B
C

#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 light_space_proj[6];
glm::mat4 light_space_view[6];
};
#endif /* HYDRACASTERCOMPONENT */