diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-20 22:33:17 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-20 22:33:17 +1000 |
commit | bda9501ed2f18c42c361499ec8f234f2e576ab7e (patch) | |
tree | 841146a0f17d168926dabdf536a6ab0f208bf13c /src/new_render/shadows.c | |
parent | dc8952e6650aae6297915bf118e1f7b1259d235d (diff) |
pass shadow texture through to pbr function
Diffstat (limited to 'src/new_render/shadows.c')
-rw-r--r-- | src/new_render/shadows.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/new_render/shadows.c b/src/new_render/shadows.c index 758a969..df25e05 100644 --- a/src/new_render/shadows.c +++ b/src/new_render/shadows.c @@ -209,6 +209,6 @@ void Shadow_ShadowmapExecute(Shadow_Storage* storage, Mat4 light_space_transform GPU_CmdEncoder_EndRender(&shadow_encoder); // end renderpass } -Handle Shadow_GetShadowMapTexture(Shadow_Storage* storage) { - return (Handle){ .raw = storage->depth_texture.raw }; +TextureHandle Shadow_GetShadowMapTexture(Shadow_Storage* storage) { + return storage->depth_texture; } |