This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gamedev:textureproperties:variation [2019/05/09 08:40] – removed dragonlord | gamedev:textureproperties:variation [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
+ | <WRAP youarehere> | ||
+ | [[: | ||
+ | </ | ||
+ | |||
+ | ====== Skin Texture Property: variation.{u, | ||
+ | |||
+ | Enables texture variation in U and V direction. | ||
+ | |||
+ | |Excepted Data Source|1 component value| | ||
+ | |Data Range|0 to 1| | ||
+ | |Default Value|0| | ||
+ | |Affected Modules|Graphic| | ||
+ | |Linked Properties|-| | ||
+ | |||
+ | ====== 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 value is typically a single component value with the data in the values 0 or 1. | ||
+ | |||
+ | The default value for these texture properties are 0. | ||
+ | |||
+ | ====== Examples ====== | ||
+ | |||
+ | <WRAP group> | ||
+ | <WRAP half column box centeralign> | ||
+ | {{ : | ||
+ | Variation enabled material. Example with colored variation of a base texture. Each tile uses a random layer. | ||
+ | </ | ||
+ | <WRAP half column box centeralign> | ||
+ | {{ : | ||
+ | U-Variation enabled material. Example with colored variation of a base texture. Only U-Variation enabled. Suitable for walls. | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP group> | ||
+ | <WRAP half column box centeralign> | ||
+ | {{ : | ||
+ | V-Variation enabled material. Example with colored variation of a base texture. Only V-Variation enabled. Suitable for walls. | ||
+ | </ | ||
+ | <WRAP half column box centeralign> | ||
+ | {{ youtube> | ||
+ | Variation Textures | ||
+ | </ | ||
+ | </ | ||