Difference between revisions of "Texture atlas"

From polycount
Jump to: navigation, search
(Tor's latest image, better size for Stefan.)
(Tutorials: http://www.georgesokol.blogspot.com)
Line 22: Line 22:
 
* 2013-04-02 [http://udn.epicgames.com/Three/TerrainAdvancedTextures.html#Texture%20Packing:%20Implementing%20large%20texture%20tile%20sets UDN - Three - TerrainAdvancedTextures - Texture Packing: Implementing large texture tile sets]
 
* 2013-04-02 [http://udn.epicgames.com/Three/TerrainAdvancedTextures.html#Texture%20Packing:%20Implementing%20large%20texture%20tile%20sets UDN - Three - TerrainAdvancedTextures - Texture Packing: Implementing large texture tile sets]
 
* 2013-04-02 [http://forums.epicgames.com/threads/710560-The-WIP-Thread?p=31189949&viewfull=1#post31189949 UDK - how to solve 'frac' artifacts and mipmapping seams] - how to implement sub-tiles in UDK, and solve seams.
 
* 2013-04-02 [http://forums.epicgames.com/threads/710560-The-WIP-Thread?p=31189949&viewfull=1#post31189949 UDK - how to solve 'frac' artifacts and mipmapping seams] - how to implement sub-tiles in UDK, and solve seams.
* 2013-03-13 [http://www.georgesokol.blogspot.com/2013/03/pro-tip-easy-way-to-work-with-seperate.html An easy way to work with separate channels in a "combined texture"] - by [ George "gsokol" Sokol], using Photoshop's Layer Style to improve the texture editing process for [[ChannelPacking|channel packing]].
+
* 2013-03-13 [http://www.georgesokol.blogspot.com/2013/03/pro-tip-easy-way-to-work-with-seperate.html An easy way to work with separate channels in a "combined texture"] - by [http://www.georgesokol.blogspot.com George "gsokol" Sokol], using Photoshop's Layer Style to improve the texture editing process for [[ChannelPacking|channel packing]].
 
* 2012-06-07 [http://www.polycount.com/forum/showthread.php?t=100388 The Desert(What can you do with no diffuse maps?)] Polycount forum thread. Vertex blending using multiple [[ChannelPacking|channel packed]] modulation textures, in UDK. See also [http://artisaverb.info/DitchingDiffuse.html Ditching Diffuse Maps: A foray into artistic reasoning and technical details behind "procedural" texturing, with practical examples on today's tech] by [http://artisaverb.info/ Andrew 'd1ver' Maximov].
 
* 2012-06-07 [http://www.polycount.com/forum/showthread.php?t=100388 The Desert(What can you do with no diffuse maps?)] Polycount forum thread. Vertex blending using multiple [[ChannelPacking|channel packed]] modulation textures, in UDK. See also [http://artisaverb.info/DitchingDiffuse.html Ditching Diffuse Maps: A foray into artistic reasoning and technical details behind "procedural" texturing, with practical examples on today's tech] by [http://artisaverb.info/ Andrew 'd1ver' Maximov].
 
* 2012-05-28 [http://www.polycount.com/forum/showthread.php?p=1595258#post1595258 UDK The Dunes] Polycount Forum thread. Using two 256x256 textures to texture an entire scene, one as a normal map and the other [[ChannelPacking|channel packed]] to store four textures.
 
* 2012-05-28 [http://www.polycount.com/forum/showthread.php?p=1595258#post1595258 UDK The Dunes] Polycount Forum thread. Using two 256x256 textures to texture an entire scene, one as a normal map and the other [[ChannelPacking|channel packed]] to store four textures.

Revision as of 15:21, 13 May 2015

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".

Atlases save texture fetches, which can help improve the frame rate.

Each of the textures can be tiled with themselves, just like a regular tiling texture.

The textures can either be cropped out of the atlas by adding more edges to the model and splicing up the texture coordinates (at the expense of increasing the vertex count), or the textures can be cropped out using a shader (at the expense of increasing the 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 layout.
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