diff options
Diffstat (limited to 'shaders/shader.cpp')
-rw-r--r-- | shaders/shader.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/shaders/shader.cpp b/shaders/shader.cpp index 28b7159c..0c66bef2 100644 --- a/shaders/shader.cpp +++ b/shaders/shader.cpp @@ -78,11 +78,4 @@ float tile_shader::depth_value(const local_coords& xy, float offset) noexcept return ((float)xy.x + (float)xy.y + offset) * depth_tile_size; } -const Vector2s tile_shader::max_screen_tiles = {8, 8}; -const float tile_shader::character_depth_offset = 1 + 1./64; -const float tile_shader::scenery_depth_offset = 1 + 1./64; -const float tile_shader::wall_depth_offset = 1; -const float tile_shader::z_depth_offset = 1 + 2./64; -const float tile_shader::depth_tile_size = 1/(double)(TILE_MAX_DIM * 2 * max_screen_tiles.product()); - } // namespace floormat |