diff options
Diffstat (limited to 'src/new_render/render.c')
-rw-r--r-- | src/new_render/render.c | 1 |
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) { |