Texture atlas

From polycount
Revision as of 14:43, 18 November 2014 by EricChadwick (Talk | contribs)

Jump to: navigation, search

A Texture Atlas describes the method of packing many separate textures together into a single texture. Other common names for this are "decal sheet", "packed texture".

Each of the textures can be tiled with themselves, just like a regular tiling texture. The textures are cropped out of the atlas using a shader. This saves texture fetches, at the expense of increasing shader instructions.

Atlas Methods

There are two common atlas methods: one divides a single bitmap into multiple sub-maps (this is usually what artists mean when they say "atlas"), the other method packs different grayscale maps into each color channel (this can be called channel packing). The two methods are not exclusive, they can also be used together in the same bitmap.

An atlas of sub-maps.
Image by Stefan Morrell.
Channel packing, and sub-maps, in the same texture.
Image by Tor "Snefer" Frick.

Tutorials

More Info

Gutters

When a game model is textured using a single texture sheet, the texture will have typically have UV'd areas (UV shells) and blank areas between them (gutters).

The width of the gutter needs to be wide enough to accommodate how much EdgePadding you need. This varies depending on how large the texture is and the texture filtering type used by the game renderer.

Packing Tools


Personal tools
Namespaces

Variants
Actions
Navigation
Tools