diff options
author | Frederico Linhares <fred@linhares.blue> | 2022-08-03 15:57:47 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2022-08-03 15:57:47 -0300 |
commit | ddbd513fc4a227420ed3475dfb6025ca6457334b (patch) | |
tree | 244f18ee97ea2e633515d1d3a7f2d212925e122d /src | |
parent | 60b38f632e4d6e9416630de6120dafcac613a698 (diff) |
fixt Increase view projection distance
Diffstat (limited to 'src')
-rw-r--r-- | src/vk/graphics_pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<float>(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); |