diff options
author | iurii <[email protected]> | 2024-09-07 21:29:10 +0200 |
---|---|---|
committer | iurii <[email protected]> | 2024-09-07 21:29:10 +0200 |
commit | b1e4ae8347be86d2bd67e261f00c72cc1dedf8d2 (patch) | |
tree | 8abcf2921d1ae6ccd6ccfb3bab8f9fd66a433edc /src | |
parent | 0330dd5bd261912c49bfe1656436f5f16415ccc2 (diff) | |
download | funhalla-b1e4ae8347be86d2bd67e261f00c72cc1dedf8d2.tar.gz |
ambient
Diffstat (limited to '')
-rw-r--r-- | src/main.odin | 2 |
1 files changed, 1 insertions, 1 deletions
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) |