From c3737fff1be704e14a2bada69bbf8a6709c5f670 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Wed, 17 Jul 2024 23:12:42 +1000 Subject: wip shader layouts for common stuff --- src/new_render/shadows.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/new_render/shadows.h') diff --git a/src/new_render/shadows.h b/src/new_render/shadows.h index 4dc20e2..9e8a6ad 100644 --- a/src/new_render/shadows.h +++ b/src/new_render/shadows.h @@ -5,7 +5,6 @@ #pragma once #include "defines.h" -#include "ral.h" #include "ral_impl.h" #include "ral_types.h" #include "render_types.h" @@ -18,6 +17,11 @@ typedef struct Shadow_Storage { // TODO: Some statistics tracking } Shadow_Storage; +typedef struct ShadowUniforms { + Mat4 light_space; + Mat4 model; +} ShadowUniforms; + typedef struct Camera Camera; typedef struct Mat4 Mat4; -- cgit v1.2.3-70-g09d2