+ | Accumulation texture

This commit is contained in:
TheRedShip
2024-12-27 17:10:35 +01:00
parent c25c337d1f
commit f64d6d0042
9 changed files with 135 additions and 72 deletions

View File

@ -64,6 +64,8 @@ void Window::process_input()
bool up = glfwGetKey(_window, GLFW_KEY_SPACE) == GLFW_PRESS;
bool down = glfwGetKey(_window, GLFW_KEY_LEFT_SHIFT) == GLFW_PRESS;
if (forward || backward || left || right || up || down)
_frameCount = 0;
_scene->getCamera()->process_keyboard(forward, backward, left, right, up, down);
}