Changes between Version 4 and Version 5 of TextureFormat
- Timestamp:
- Sep 10, 2010, 5:58:50 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TextureFormat
v4 v5 5 5 * 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). 6 6 * 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. 8 8 9 9 == Compression == … … 42 42 </Textures> 43 43 }}} 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.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 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. 45 45 46 46 `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.