diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-12 00:08:56 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-12 00:08:56 +0200 |
commit | 903e1644fce5652a621803a6eb3617d605d22434 (patch) | |
tree | ce088b04f92ffc8bdb5e6c1d31e3981e20a5b2bb /src/camera-offset.cpp | |
parent | 993d828c3c2cdab6174e460c39a605dbd31d192c (diff) |
wip
Diffstat (limited to 'src/camera-offset.cpp')
-rw-r--r-- | src/camera-offset.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/camera-offset.cpp b/src/camera-offset.cpp index e8c80861..0aab5ea1 100644 --- a/src/camera-offset.cpp +++ b/src/camera-offset.cpp @@ -19,6 +19,8 @@ with_shifted_camera_offset::with_shifted_camera_offset(tile_shader& shader, chun const int z = c.z - chunk_z_min; depth_offset += tile_shader::depth_value(local_coords{z, z}); + // wip + if (c.z == chunk_z_max) depth_offset = 1; |