User Tools

Site Tools


gamedev:textureproperties:variation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gamedev:textureproperties:variation [2017/04/02 13:56] – created dragonlordgamedev:textureproperties:variation [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
 +{{tag>graphic skin texture variation}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **variation.u/variation.v**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **variation.u / variation.v**
 </WRAP> </WRAP>
  
-<WRAP boxheader> +====== Skin Texture Property: variation.{u,v} ====== 
-====== Summary ====== + 
-</WRAP> +Enables texture variation in U and V direction
-<WRAP boxcontent> +
-|Texture Property Name|variation.u, variation.v| +
-|Description|Enables texture variation in U and V direction|+
 |Excepted Data Source|1 component value| |Excepted Data Source|1 component value|
 |Data Range|0 to 1| |Data Range|0 to 1|
 |Default Value|0| |Default Value|0|
 |Affected Modules|Graphic| |Affected Modules|Graphic|
-|Linked Properties|| +|Linked Properties|-|
-</WRAP>+
  
 ====== Description ====== ====== Description ======
 +
 The **variation.u** and **variation.v** texture property define if texture variations are used along the texture U and V direction. If texture variations are enabled various texture properties can be defines using a depth of larger than 1. The integral part of texture coordinates in the U and V direction are used to randomly pick a layer from these properties. A value of 0 indicates that texture variations are not used along the U and V direction. A value of 1 indicates that texture variations are used along the U and V direction. The **variation.u** and **variation.v** texture property define if texture variations are used along the texture U and V direction. If texture variations are enabled various texture properties can be defines using a depth of larger than 1. The integral part of texture coordinates in the U and V direction are used to randomly pick a layer from these properties. A value of 0 indicates that texture variations are not used along the U and V direction. A value of 1 indicates that texture variations are used along the U and V direction.
  
Line 24: Line 23:
  
 ====== Examples ====== ====== Examples ======
-<WRAP column 45%+ 
-<WRAP center box 420px>+<WRAP group
 +<WRAP half column box centeralign>
 {{ :gamedev:textureproperties:variation1.jpg |Variation enabled material}} {{ :gamedev:textureproperties:variation1.jpg |Variation enabled material}}
-<WRAP centeralign>Variation enabled material. Example with colored variation of a base texture. Each tile uses a random layer.</WRAP>+Variation enabled material. Example with colored variation of a base texture. Each tile uses a random layer.
 </WRAP> </WRAP>
-</WRAP> +<WRAP half column box centeralign>
- +
-<WRAP column 45%> +
-<WRAP center box 420px>+
 {{ :gamedev:textureproperties:variation2.jpg |U-Variation enabled material}} {{ :gamedev:textureproperties:variation2.jpg |U-Variation enabled material}}
-<WRAP centeralign>U-Variation enabled material. Example with colored variation of a base texture. Only U-Variation enabled. Suitable for walls.</WRAP>+U-Variation enabled material. Example with colored variation of a base texture. Only U-Variation enabled. Suitable for walls.
 </WRAP> </WRAP>
 </WRAP> </WRAP>
  
-<WRAP clear></WRAP> +<WRAP group
- +<WRAP half column box centeralign>
-<WRAP column 45%> +
-<WRAP center box 420px>+
 {{ :gamedev:textureproperties:variation3.jpg |V-Variation enabled material}} {{ :gamedev:textureproperties:variation3.jpg |V-Variation enabled material}}
-<WRAP centeralign>V-Variation enabled material. Example with colored variation of a base texture. Only V-Variation enabled. Suitable for walls.</WRAP>+V-Variation enabled material. Example with colored variation of a base texture. Only V-Variation enabled. Suitable for walls. 
 +</WRAP> 
 +<WRAP half column box centeralign> 
 +{{ youtube>dhudrzDJ5T8?600x480 |Variation Textures}} 
 +Variation Textures
 </WRAP> </WRAP>
 </WRAP> </WRAP>
- 
-<WRAP clear></WRAP> 
  
gamedev/textureproperties/variation.1491141394.txt.gz · Last modified: 2017/04/02 13:56 by dragonlord