From b1e4ae8347be86d2bd67e261f00c72cc1dedf8d2 Mon Sep 17 00:00:00 2001 From: iurii Date: Sat, 7 Sep 2024 22:29:10 +0300 Subject: ambient --- src/main.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.odin b/src/main.odin index eee26e2..d3d5cac 100644 --- a/src/main.odin +++ b/src/main.odin @@ -203,7 +203,7 @@ main :: proc() { shader_set_vec3(lighting_shader, cstring("light.diffuse"), &light_diffuse) shader_set_vec3(lighting_shader, cstring("light.specular"), &light_specular) - shader_set_vec3(lighting_shader, cstring("light_position"), &light_pos) + shader_set_vec3(lighting_shader, cstring("light.position"), &light_pos) shader_set_vec3(lighting_shader, cstring("view_position"), &camera.position) shader_set_f32(lighting_shader, "light.constant", 1.0) -- cgit 1.4.1-2-gfad0