summaryrefslogtreecommitdiffhomepage
path: root/shaders
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-10 15:06:01 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-10 15:32:46 +0100
commit09183eb08755b20804f26a4341ab30bcea89a697 (patch)
tree947cbb58e67ebda5053ec27250d1c53ea8341a88 /shaders
parentabc0ca438938d9ccad9097a671556988b7625696 (diff)
editor: add placeholder character walking around
Diffstat (limited to 'shaders')
-rw-r--r--shaders/tile.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shaders/tile.hpp b/shaders/tile.hpp
index b12176c5..c4080ab8 100644
--- a/shaders/tile.hpp
+++ b/shaders/tile.hpp
@@ -38,7 +38,7 @@ struct tile_shader : GL::AbstractShaderProgram
decltype(auto) draw(T&& mesh, Xs&&... xs);
static constexpr float depth_tile_size = 1.f/(256 * TILE_COUNT);
- static constexpr float scenery_depth_offset = .25f;
+ static constexpr float scenery_depth_offset = .25f, character_depth_offset = .5f;
private:
void _draw();