The terms multitexture, multitexturing or texture mapping are actually known from OpenGL and DirectX!
Many developers want to use some form of multi-texturing to potentially multiply or add texture number 1 and texture number 2, or mix them based on a factor such as an alpha value. Under OpenGL you can use a GLSL code to mix two textures based on an alpha value .
1.) ... A simple example of the use of multitexturing in the terrain!
|(Image-1) Terrain multitexture, multitexturing (texture mapping)!|
2.) What should you know about multitexturing!In this tutorial, you will learn how to multitexture in DirectX 11 and how to implement texture arrays in DirectX 11. Multitexturing mixes two different textures to create a final texture. The equation you use to mix the two textures can vary depending on the result you want to achieve. In this tutorial we will only combine the average pixel color of the two textures to create an evenly mixed final texture.
►►► ... DirectX: Multitexturing and Texture Arrays
►►► ... OpenGL: Textures and MultiTextures
|(Image-2) Multitexture, multitexturing (texture mapping)!|
Texture Arrays is a new feature since DirectX 10 that allows you to activate multiple textures in the GPU at the same time. Previous methods, where only a single texture was active in the GPU, resulted in a lot of additional processing to constantly load and unload textures. Most people have avoided this problem by using texture aliases (loading a series of textures onto a large texture) and using only different UV coordinates. Texture aliases are no longer required with this new function.
FAQ 145: Updated on: 9 July 2021 16:02