diff options
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; |
