fix rendering issue in workshop board preview
authorhgn <hgodden00@gmail.com>
Mon, 22 Jan 2024 16:58:59 +0000 (16:58 +0000)
committerhgn <hgodden00@gmail.com>
Mon, 22 Jan 2024 16:58:59 +0000 (16:58 +0000)
workshop.c

index 1b3015f58648c821781d0d4f98e3c8b97bdda801..a48e1a16956299fc98456d58899110983cc27fe7 100644 (file)
@@ -999,7 +999,7 @@ static void workshop_render_board_preview(void){
    glBufferSubData( GL_UNIFORM_BUFFER, 0, 
                     sizeof(struct ub_world_lighting), &world->ub_lighting );
 
-   render_world( world, &cam, 0, 0, 1, 1 );
+   render_world( world, &cam, 0, 0, 0, 0 );
    struct player_board_pose pose = {0};
    render_board( &cam, world, board, mmdl,  &pose, k_board_shader_entity );
    render_board( &cam, world, board, mmdl1, &pose, k_board_shader_entity );