This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gamedev:textureproperties:height_scale [2012/12/01 18:42] – dragonlord | gamedev:textureproperties:height_scale [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
<WRAP youarehere> | <WRAP youarehere> | ||
- | [[: | + | [[: |
</ | </ | ||
- | <WRAP boxheader> | + | ====== |
- | ====== | + | |
- | </ | + | Defines the scaling for the height texture property. |
- | <WRAP boxcontent> | + | |
- | |Texture Property Name|height.scale| | + | |
- | |Description|Defines the scaling for the height texture property| | + | |
|Excepted Data Source|1 component value| | |Excepted Data Source|1 component value| | ||
|Data Range|any value| | |Data Range|any value| | ||
|Default Value|0.1| | |Default Value|0.1| | ||
|Affected Modules|Graphic| | |Affected Modules|Graphic| | ||
- | |Linked Properties|[[gamedev: | + | |Linked Properties|[[gamedev: |
- | </ | + | |
====== Description ====== | ====== Description ====== | ||
- | The **height.scale** texture property is linked to the **[[gamedev: | + | |
+ | The **height.scale** texture property is linked to the [[gamedev: | ||
+ | |||
+ | With a scaling of 1 the height values are considered to be in the range of -0.5m to 0.5m. The height texture property values are multiplied by the scale factor | ||
The source is typically a single component value representing the maximum distance in meters above and below the surface. | The source is typically a single component value representing the maximum distance in meters above and below the surface. | ||
Line 24: | Line 25: | ||
====== Examples ====== | ====== Examples ====== | ||
+ | |||
( TODO: example image ) | ( TODO: example image ) |