This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
gamedev:textureproperties:height [2012/12/01 00:51] – created dragonlord | gamedev:textureproperties:height [2014/10/07 10:39] – dragonlord | ||
---|---|---|---|
Line 3: | Line 3: | ||
</ | </ | ||
+ | <WRAP boxheader> | ||
====== Summary ====== | ====== Summary ====== | ||
+ | </ | ||
+ | <WRAP boxcontent> | ||
|Texture Property Name|height| | |Texture Property Name|height| | ||
+ | |Description|Defines the height of surface points| | ||
|Excepted Data Source|1 component image| | |Excepted Data Source|1 component image| | ||
|Data Range|0 to 1| | |Data Range|0 to 1| | ||
|Default Value|0.5| | |Default Value|0.5| | ||
- | |Graphic | + | |Affected Modules|Graphic| |
- | |Physics Module|No effect| | + | |Linked Properties|[[gamedev: |
- | |Audio Module|No effect| | + | </ |
- | ====== | + | ====== |
The **height** texture property defines the height of the surface. This allows Graphic Modules to improve lighting by taking small scale elevations on the surface into account. | The **height** texture property defines the height of the surface. This allows Graphic Modules to improve lighting by taking small scale elevations on the surface into account. | ||
- | The source | + | This is also a special texture property similar to the normal map one but this time the height of a surface |
- | The default | + | A value of 0.5 indicates no surface height alteration. Values below 0.5 indicate a dent in a surface while values above 0.5 indicate a bump in a surface. The strength and offset of the height alteration can be set using the [[gamedev: |
- | ====== Physics Module ====== | + | The source is typically an 8 bit image with 1 color components inside the range from 0 to 1. 0 represents a point located at the lowest point underneath the surface. 0.5 represents a point on the surface. 1 represents a point located at the highest point above the surface. Using high definition range images values beyond can be used as well. |
- | This texture property does not effect Physics Modules. | + | |
- | ====== Audio Module ====== | + | The default value for this texture property |
- | This texture property | + | |
====== Examples ====== | ====== Examples ====== | ||
( TODO: example image ) | ( TODO: example image ) |