From: Perttu Ahola Date: Tue, 6 Sep 2011 22:27:04 +0000 (+0300) Subject: Note about texture atlas X-Git-Tag: 0.2.20110922~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d28ea57083481bff8180249fc8b43f7ed7b18545;p=oweals%2Fminetest.git Note about texture atlas --- diff --git a/src/tile.cpp b/src/tile.cpp index d4244bd42..73f2a85ea 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;