From d28ea57083481bff8180249fc8b43f7ed7b18545 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 7 Sep 2011 01:27:04 +0300 Subject: [PATCH] Note about texture atlas --- src/tile.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/tile.cpp b/src/tile.cpp index d4244bd..73f2a85 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -504,8 +504,16 @@ void TextureSource::buildMainAtlas() } /* - A list of stuff to add. This should contain as much of the - stuff shown in game as possible, to minimize texture changes. + A list of stuff to include in the texture atlas. + + It is a single-dimensional texture atlas due to the need to tile + textures. + + It should contain as much of the stuff shown in game as possible, + to minimize texture changes. + + It fills up quickly, so do not add anything that isn't contained + in most MapBlocks. E.g. mese isn't suitable but stone is. */ core::array sourcelist;