Difference between revisions of "MultiTexture"

From polycount
Jump to: navigation, search
(tor desc)
(example images)
Line 6: Line 6:
 
Texture splatting is a method for blending multiple textures together on the same mesh, by painting a mask between them. Often [[VertexColor|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 is a method for blending multiple textures together on the same mesh, by painting a mask between them. Often [[VertexColor|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.  
  
* [http://eat3d.com/free/vertex_painting Vertex Painting in UDK - Eat 3D] Video tutorial by [http://www.torfrick.com/ Tor 'Snefer' Frick] showing how to setup a material using vertex paint and a blend mask in Unreal.
+
<gallery mode="nolines" heights=200px widths=400px>
 +
Unreal_Landscape_Smooth_Layer_Before.jpg|Blending textures in Unreal. See [https://docs.unrealengine.com/latest/INT/Engine/Landscape/QuickStart/5/index.html Unreal Engine 4 - Painting Landscape Materials].
 +
UE3_blendmask.jpg|Using a blend mask texture. See [http://udn.epicgames.com/Three/TerrainAdvancedTextures.html UDN - Three - Terrain Advanced Textures].
 +
</gallery>
 +
 
 +
* [https://docs.unrealengine.com/latest/INT/Engine/Landscape/QuickStart/5/index.html Unreal Engine 4 - Painting Landscape Materials]
 
* [http://udn.epicgames.com/Three/TerrainAdvancedTextures.html UDN - Three - Terrain Advanced Textures] by Epic Games. Multiple methods for multitexturing terrain in the Unreal 3 Engine.
 
* [http://udn.epicgames.com/Three/TerrainAdvancedTextures.html UDN - Three - Terrain Advanced Textures] by Epic Games. Multiple methods for multitexturing terrain in the Unreal 3 Engine.
 
* [http://www.polycount.com/forum/showthread.php?t=48473 texturing a race track] thread on Polycount. Texturing ideas for race track pavement.
 
* [http://www.polycount.com/forum/showthread.php?t=48473 texturing a race track] thread on Polycount. Texturing ideas for race track pavement.
Line 14: Line 19:
 
== Modulation Blending ==
 
== 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 [[ChannelPacking|channel packed]] into a single map. Usually the [[Shaders|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.
 
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 [[ChannelPacking|channel packed]] into a single map. Usually the [[Shaders|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.
 +
 +
[[image:TorFrick_VertexPaintingInUnreal.jpg|thumb|left|300px|[http://eat3d.com/free/vertex_painting Vertex Painting in UDK - Eat 3D] Video tutorial by [http://www.torfrick.com/ Tor 'Snefer' Frick].]]<br clear="all"/>
  
 
* [http://eat3d.com/free/vertex_painting Vertex Painting in UDK - Eat 3D] Video tutorial by [http://www.torfrick.com/ Tor 'Snefer' Frick] showing how to setup a material using vertex paint and a blend mask in Unreal.
 
* [http://eat3d.com/free/vertex_painting Vertex Painting in UDK - Eat 3D] Video tutorial by [http://www.torfrick.com/ Tor 'Snefer' Frick] showing how to setup a material using vertex paint and a blend mask in Unreal.
Line 31: Line 38:
 
== Variation Blending ==
 
== Variation Blending ==
 
Methods for adding variation across a tiling texture.
 
Methods for adding variation across a tiling texture.
 +
 +
[[image:ChristopherAlbeluhn_AddingVariation.jpg|thumb|left|300px|[http://www.chrisalbeluhn.com/UT3_Add_variation_to_repeating_textures_Tutorial.html Chris Albeluhn - UT3 - Adding variation to a repeating texture pattern].]]<br clear="all"/>
  
 
* [http://www.polycount.com/forum/showthread.php?p=1308889#post1308889 STAGE Street Fighter 2, Bath House, JordanW] - Polycount Forum]  
 
* [http://www.polycount.com/forum/showthread.php?p=1308889#post1308889 STAGE Street Fighter 2, Bath House, JordanW] - Polycount Forum]  

Revision as of 10:13, 13 June 2015

Multi-Texture describes the blending of multiple textures on the same surface.

Texture Splatting

Texture splatting is a method for blending multiple textures together on the same mesh, by painting a mask between them. 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.

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.


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


More Information


Personal tools
Namespaces

Variants
Actions
Navigation
Tools