summaryrefslogtreecommitdiffhomepage
path: root/shaders/tile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/tile.hpp')
-rw-r--r--shaders/tile.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/tile.hpp b/shaders/tile.hpp
index 2eb3f0ca..47ec2f35 100644
--- a/shaders/tile.hpp
+++ b/shaders/tile.hpp
@@ -37,8 +37,8 @@ struct tile_shader : GL::AbstractShaderProgram
template<typename T, typename... Xs>
decltype(auto) draw(T&& mesh, Xs&&... xs);
- static constexpr Vector2s max_screen_tiles{16, 16};
- static constexpr float depth_tile_size = 1/(double)(TILE_COUNT * max_screen_tiles.product());
+ static constexpr Vector2s max_screen_tiles{32, 32};
+ static constexpr float depth_tile_size = 1/(double)(TILE_MAX_DIM * 2 * max_screen_tiles.product());
static constexpr float scenery_depth_offset = 0.25f, character_depth_offset = 0.25f, wall_depth_offset = 0;
private: