diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-13 02:47:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-13 02:47:34 +0200 |
commit | 386263c8c65ba140e85961775fb8858ed1e65bc4 (patch) | |
tree | 8bdb97bb15c1ea187b99e8a52e020cf532aef833 /shaders | |
parent | e1d3607fb443109f1ae49a4765b9e2c5a7998a1b (diff) |
a
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/tile.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/tile.hpp b/shaders/tile.hpp index 8c65b6fa..2eb3f0ca 100644 --- a/shaders/tile.hpp +++ b/shaders/tile.hpp @@ -39,7 +39,7 @@ struct tile_shader : GL::AbstractShaderProgram static constexpr Vector2s max_screen_tiles{16, 16}; static constexpr float depth_tile_size = 1/(double)(TILE_COUNT * max_screen_tiles.product()); - static constexpr float scenery_depth_offset = 0.25f, character_depth_offset = 0.25f, wall_depth_offset = 0.125f; + static constexpr float scenery_depth_offset = 0.25f, character_depth_offset = 0.25f, wall_depth_offset = 0; private: void _draw(); |