Texture splatting

Example of texture splatting.

In computer graphics, texture splatting is a method for combining different textures. The method works by applying an alphamap (also called a "weightmap" or "splat map") to the higher levels, revealing the layers underneath where the alphamap is partially or completely transparent. The term was coined by Crawfis et al.[1]

Optimizations

Since texture splatting is commonly used for terrain rendering in computer games, various optimizations are required. Because the underlying principle is for each texture to have its own alpha channel, large amounts of memory can easily be consumed. As a solution to this problem, multiple alpha maps can be combined into one texture using the red channel for one map, the blue for another, and so on. This effectively uses a single texture to supply alpha maps for four real-color textures. The alpha textures can also use a lower resolution than the color textures, and often the color textures can be tiled.

Terrains can also be split into chunks where each chunk can have its own textures. Say there is a certain texture on one part of the terrain that doesn’t appear anywhere else on it: it would be a waste of memory and processing time if the alpha map extended over the whole terrain if only 10% of it was actually required. If the terrain is split into chunks then the alpha map can also be split up according to the chunks and so now instead of 90% of that specific map being wasted only 20% may be.

See also

References

  1. Texture Splats for 3D Vector and Scalar Field Visualization

External links


This article is issued from Wikipedia - version of the Thursday, June 05, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.