Added debug display with arrows of velocity buffer

This commit is contained in:
Antoine Pilote
2024-09-25 12:58:53 -04:00
parent 6e8f14c5da
commit a37bdd9d7a
7 changed files with 685 additions and 34569 deletions

View File

@@ -180,7 +180,7 @@ namespace Nuake {
}
else if (SelectedViewport == 4)
{
texture = Engine::GetCurrentScene()->m_SceneRenderer->GetGBuffer().GetTexture(GL_COLOR_ATTACHMENT5);
texture = Engine::GetCurrentScene()->m_SceneRenderer->GetVelocityTexture();
}
ImVec2 imagePos = ImGui::GetWindowPos() + ImGui::GetCursorPos();