summaryrefslogtreecommitdiff
path: root/src/new_render/render.c
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-18 12:03:15 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-18 12:03:15 +1000
commit4d198fe4f5cbe9e022776bdbd0bd8ec8094c8953 (patch)
tree4fbbf2feba811ded8923bd964f940f1c71c78c0d /src/new_render/render.c
parentc3737fff1be704e14a2bada69bbf8a6709c5f670 (diff)
draw pbr container
Diffstat (limited to 'src/new_render/render.c')
-rw-r--r--src/new_render/render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/new_render/render.c b/src/new_render/render.c
index 1213f1d..d98db4f 100644
--- a/src/new_render/render.c
+++ b/src/new_render/render.c
@@ -131,6 +131,7 @@ void Render_RenderEntities(RenderEnt* entities, size_t entity_count) {
// Mat4 light_view = mat4_look_at(pos, VEC3_ZERO, VEC3_Y);
// Mat4 light_space_matrix = mat4_mult(light_view, light_projection);
// Shadow_ShadowmapExecute(ren->shadows, light_space_matrix, entities, entity_count);
+ PBR_Execute(ren->pbr, scene.camera, INVALID_TEX_HANDLE, entities, entity_count);
}
TextureData TextureDataLoad(const char* path, bool invert_y) {