Spot started

This commit is contained in:
Confideo-IOM
2026-08-04 22:40:48 +01:00
parent f51b435a9d
commit 6d7d7571b5
48 changed files with 1086 additions and 1222 deletions
@@ -18,11 +18,16 @@ class HydraShadowPipeline : public HydraPipeline
void Render() override;
private:
void _CreateUBOs();
void _CreateRenderStage();
void _CreateSpotRenderStage();
void _CreateDirectionalRenderStage();
void _UpdateUBO(uint32_t shadow_idx);
void _BindFrameBufferAttachments(HydraID entity_id);
void _RenderDirectionalShadowMaps();
void _RenderSpotShadowMaps();
HydraID m_per_frame_ubo = INVALID_HYDRA_ID;
const uint32_t DIRECTIONAL_RENDER_STAGE = 0;
const uint32_t SPOT_RENDER_STAGE = 1;
};