MultiTexture

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

Jump to: navigation, search

A method for blending multiple textures together on the same mesh, by painting a mask between them. Also called "texture splatting". Often Vertex Color is used to control the blending because vertex color is fairly cheap. Or a mask bitmap can be used because it gives more control and avoids the gradient artifacts of per-vertex blending.

Texture Splatting

Modulation Blending

This method adds sharp details to the blend area, by mixing vertex color (for the larger blend) with grayscale textures (for the sharp detail blend). These grayscale maps are either stored in the alpha channel of each layer's normal map, or multiple maps can be channel packed into a single map. Usually the shader has a control for how sharp the transition will be, and sometimes you can use a vertex color or bitmap to control the sharpness.

Sub-Tiles

Multiple tiling textures can be packed into a single bitmap, and cropped out by a shader. This saves texture fetches, at the expense of increasing shader instructions.

Variation Blending

Methods for adding variation across a tiling texture.

Megatexture

id Software's Megatexture tech uses [[Decal decals] and multitexturing to create their terrain textures, which are then baked down in a preprocessing step into a huge texture sheet, that's dynamically loaded as you play the game. So it's not really multitexturing in the end, blending in real-time, instead it's a single colormap baked from a multitextured source. The Splash Damage wiki has an article about generating Megatextures for ETQW.

Megatexture in Rage, before decals and multitexturing. Image by id Software
Megatexture in Rage, after baking in the decals and texture layers. Image by id Software

Personal tools
Namespaces

Variants
Actions
Navigation
Tools