From: Perttu Ahola Date: Tue, 6 Sep 2011 22:27:04 +0000 (+0300) Subject: Note about texture atlas X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=d28ea57083481bff8180249fc8b43f7ed7b18545;p=zefram%2Fminetest%2Fminetest_engine.git Note about texture atlas --- diff --git a/src/tile.cpp b/src/tile.cpp index d4244bd4..73f2a85e 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;