diff options
Diffstat (limited to 'src/vk')
-rw-r--r-- | src/vk/graphics_pipeline_3d.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vk/graphics_pipeline_3d.cpp b/src/vk/graphics_pipeline_3d.cpp index fbf5b80..eb86401 100644 --- a/src/vk/graphics_pipeline_3d.cpp +++ b/src/vk/graphics_pipeline_3d.cpp @@ -627,7 +627,6 @@ GraphicsPipeline3D::draw( glm::radians(45.0f), view->region.z / view->region.w, 0.1f, 100.0f); - ubo_view_3d.proj[1][1] *= -1; view->ub_3d[image_index].copy_data(&ubo_view_3d); } @@ -640,7 +639,7 @@ GraphicsPipeline3D::draw( UBOWorld3D_Frag ubo_world_3d_frag{}; ubo_world_3d_frag.directional_light_direction = - glm::vec3{-0.57735, -0.57735, -0.57735}; + glm::vec3{-0.57735, 0.57735, -0.57735}; ubo_world_3d_frag.directional_light_color = glm::vec4{0.8, 0.8, 0.8, 1.0}; this->ub_world_frag[image_index].copy_data(&ubo_world_3d_frag); } |