Now scaling depth in viewport Depth mode and removed debug windows

This commit is contained in:
Antoine Pilote
2024-09-02 11:34:23 -04:00
parent 636736f567
commit 7af703b5fc
4 changed files with 18 additions and 27 deletions

View File

@@ -166,7 +166,7 @@ namespace Nuake {
}
else if (SelectedViewport == 3)
{
texture = Engine::GetCurrentScene()->m_SceneRenderer->GetGBuffer().GetTexture(GL_DEPTH_ATTACHMENT);
texture = Engine::GetCurrentScene()->m_SceneRenderer->GetScaledDepthTexture();
}
ImVec2 imagePos = ImGui::GetWindowPos() + ImGui::GetCursorPos();