Changes between Version 4 and Version 5 of TextureFormat


Ignore:
Timestamp:
Sep 10, 2010, 5:58:50 PM (14 years ago)
Author:
Philip Taylor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TextureFormat

    v4 v5  
    55 * Textures must be '''power-of-two sizes''' (width and height must be 64, 128, 256, 512, etc; non-square sizes like 256x512 are fine too).
    66 * Textures go in an '''`art/textures/`''' directory (typically `binaries/data/mods/public/art/textures/`).
    7  * Everything should work automatically. If you care about the details or want more control over visual quality, see the rest of this page.
     7 * Everything should then work automatically. If you care about the details or want more control over visual quality, see the rest of this page.
    88
    99== Compression ==
     
    4242</Textures>
    4343}}}
    44 Each `<File>` line matches some filenames, and applies certain settings to them. If a filename matches multiple lines, later settings will override earlier settings. The `textures.xml` file applies to all files in the same directory, ''and'' in all subdirectories - e.g. you can specify some common default settings in `art/textures/ui/textures.xml` for all UI textures, then override them with specific settings in subdirectories.
     44Each `<File>` line matches some filenames, and applies certain settings to them. If a filename matches multiple lines, later settings will override earlier settings. The `textures.xml` file applies to all textures in the same directory, ''and'' in all subdirectories - e.g. you can specify some common default settings in `art/textures/ui/textures.xml` for all UI textures, then override them with specific settings in subdirectories.
    4545
    4646`pattern="..."` determines which filenames are matched by that line. The pattern can include wildcards: `?` matches any character, `*` matches any sequence of zero or more characters.