The lighting is done better where I set it up once in the shader and then only change the camera spotlight when the camera moves.

This commit is contained in:
Zed A. Shaw 2026-08-27 15:00:48 -04:00
parent 748528a31f
commit 032f10ef44
5 changed files with 22 additions and 3 deletions

View file

@ -15,6 +15,7 @@ struct Camera {
float lastY = 300;
float fov = 45.0f;
bool firstMouse = true;
bool dirty = true;
glm::mat4 look_at();
void forward();