# Copyright 2016-2019 the openage authors. See copying.md for legal info.

"""
Constants for texture generation.
"""

# The maximum allowed texture dimension.
# TODO: Maximum allowed dimension needs to
#       be determined by converter.
MAX_TEXTURE_DIMENSION = 32768

# Margin between subtextures in atlas to avoid texture bleeding.
MARGIN = 1

# The aspect ratio of terrain tiles.
TERRAIN_ASPECT_RATIO = 97 / 94
