From 4d198fe4f5cbe9e022776bdbd0bd8ec8094c8953 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Thu, 18 Jul 2024 12:03:15 +1000 Subject: draw pbr container --- src/new_render/render.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/new_render/render.c') 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) { -- cgit v1.2.3-70-g09d2