+ | Volumetric ligthing

This commit is contained in:
TheRedShip
2025-01-13 23:45:13 +01:00
parent 819c07f90d
commit 1d3627000d
5 changed files with 113 additions and 16 deletions

View File

@ -219,7 +219,7 @@ void Window::imGuiRender()
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
if (has_changed)
_frameCount = -1;
_frameCount = (accumulate == 0) + 1;
}
GLFWwindow *Window::getWindow(void) const
@ -251,7 +251,7 @@ int Window::getPixelisation(void)
{
if(_fps < 60 && _pixelisation < 16)
_pixelisation++;
if(_fps > 90 && _pixelisation > 0)
if(_fps > 120 && _pixelisation > 0)
_pixelisation--;
}
else if(_pixelisation)