Compare commits

..

2 Commits

Author SHA1 Message Date
3e414881d9 Fix global light direction 2024-08-17 11:49:56 +01:00
4fa553db47 Correct head normals 2024-08-17 11:49:49 +01:00
2 changed files with 64398 additions and 64399 deletions

File diff suppressed because it is too large Load Diff

View File

@ -115,7 +115,7 @@ internal void get_image_coordinates(f32 norm_x, f32 norm_y, const Image *img,
u64 *x, u64 *y); u64 *x, u64 *y);
internal u64 ndc_to_image_coordinate(f32 value, u64 max); internal u64 ndc_to_image_coordinate(f32 value, u64 max);
V3f g_light_dir = {0.0f, 0.0f, -1.0f}; V3f g_light_dir = {0.0f, 0.0f, 1.0f};
// clang-format off // clang-format off
M4x4f g_cam_matrix = { M4x4f g_cam_matrix = {