From ddbd513fc4a227420ed3475dfb6025ca6457334b Mon Sep 17 00:00:00 2001 From: Frederico Linhares Date: Wed, 3 Aug 2022 15:57:47 -0300 Subject: fixt Increase view projection distance --- src/vk/graphics_pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vk/graphics_pipeline.cpp b/src/vk/graphics_pipeline.cpp index 1c13425..1ba8a12 100644 --- a/src/vk/graphics_pipeline.cpp +++ b/src/vk/graphics_pipeline.cpp @@ -952,7 +952,7 @@ GraphicsPipeline::draw() ubo_view_projection.proj = glm::perspective( glm::radians(45.0f), cg_core.screen_width / static_cast(cg_core.screen_height), - 0.1f, 10.0f); + 0.1f, 100.0f); ubo_view_projection.proj[1][1] *= -1; this->ub_view_projection[image_index].copy_data(&ubo_view_projection); -- cgit v1.2.3