====== The attributes map ====== The //attributes map// describes the type of land in each pixel of the [[l3dt:reference:maps:tx|texture map]] or [[l3dt:reference:maps:alpha|alpha maps]] (e.g. rocks, sand, grassland, jungle, etc). The attributes map is conceptually similar to a set of alpha maps, but it takes less space. Instead of each land type having its own image (or layer in an image), it is assigned a unique 16-bit value that is stored in the attributes map. For a typical map with four land types, the attributes map takes 1/2 the space in memory than an equivalent alpha map. For a more complex map with 8 land types, it is 1/4th. The 16-bit attributes map pixels are comprised: ^ High byte | Climate ID. Zero based, referencing climates in the project climate list (see .proj file). | ^ Low byte | Land type ID. One based, referencing land types in the climate. Zero is reserved for error conditions. | The land types in the attributes map are defined in [[l3dt:reference:glossary#climate|climates]], which can be viewed/edited using the [[l3dt:userguide:climates#the_climate_manager|climate manager]] / [[l3dt:userguide:climates#the_climate_editor|editor]]. The climate definition also specifies the display colours for each land type (see example below), so if you don't like the colour scheme you can change it. Note water type is stored in a separate [[l3dt:reference:maps:wm|water map]]. ===== Example map ===== {{ l3dt:reference:maps:am.jpg }} ===== Further reading ===== * User-guide topics: * [[l3dt:userguide:ops:am:genmap|Generating the attributes map]]. * [[l3dt:userguide:tools:am_brush|Attributes map brush]]. * [[l3dt:userguide:climates:ltedit|Editing land types]]. * Algorithm information: * [[l3dt:algorithms:cli|Climate algorithms]].