fix da bugs
[carveJwlIkooP6JGAAIwe30JlM.git] / world_render.h
index 873374f08b37ea2ac928b6e1e0f50b427724585f..e7700e82ca8b73c64ee4cb64bfcc93c7b340f35f 100644 (file)
@@ -382,7 +382,8 @@ VG_STATIC void render_world_depth( world_instance *world, camera *cam )
    shader_scene_depth_uPv( cam->mtx.pv );
    shader_scene_depth_uPvmPrev( cam->mtx_prev.pv );
    shader_scene_depth_uMdl( identity_matrix );
-   
+   world_link_lighting_ub( world, _shader_scene_depth.id, 2 );
+
    mesh_bind( &world->mesh_geo );
    mesh_draw( &world->mesh_geo );