diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-09-07 01:27:04 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-09-07 01:27:04 +0300 |
commit | d28ea57083481bff8180249fc8b43f7ed7b18545 (patch) | |
tree | e07b82ca5436e92845c9f7fd5e638aa3d12f9688 | |
parent | 8e26c5c0664bcf140ced8db98e6ed99802a7d9fa (diff) | |
download | minetest-d28ea57083481bff8180249fc8b43f7ed7b18545.tar.gz minetest-d28ea57083481bff8180249fc8b43f7ed7b18545.tar.bz2 minetest-d28ea57083481bff8180249fc8b43f7ed7b18545.zip |
Note about texture atlas
-rw-r--r-- | src/tile.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
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<std::string> sourcelist; |