feat: improve fps controller / add fog and ambient light to the scene

This commit is contained in:
2026-10-16 09:29:59 +02:00
parent 21621001c2
commit 4c9b77c948
105 changed files with 609 additions and 110 deletions
+2 -2
View File
@@ -1,3 +1,4 @@
#include <algorithm>
#include <chrono>
#include <exception>
#include <SDL_vulkan.h>
@@ -274,8 +275,7 @@ if (!isRunning) break;
TracyPlot("Fixed Steps", static_cast<int64_t>(steps));
}
const float alpha = accumulator / fixedDt;
(void)alpha;
Time::GetInstance().SetFixedAlpha(std::clamp(accumulator / fixedDt, 0.0f, 1.0f));
{
ZoneScopedN("Swapchain Resize Check");