feat: improve fps controller / add fog and ambient light to the scene
This commit is contained in:
+2
-2
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user