diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-17 23:12:42 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-17 23:12:42 +1000 |
commit | c3737fff1be704e14a2bada69bbf8a6709c5f670 (patch) | |
tree | aa2225901f26598b07855a65a944354fbedc40b1 /src/new_render/shadows.h | |
parent | f8641a5cc4c8baf1f0a7be3685afc219d90143d9 (diff) |
wip shader layouts for common stuff
Diffstat (limited to 'src/new_render/shadows.h')
-rw-r--r-- | src/new_render/shadows.h | 6 |
1 files changed, 5 insertions, 1 deletions
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; |