User Tools

Site Tools


gamedev:textureproperties:height

This is an old revision of the document!


Summary

Texture Property Nameheight
Excepted Data Source1 component image
Data Range0 to 1
Default Value0.5
Graphic ModuleDefines the height of surface points
Physics ModuleNo effect
Audio ModuleNo effect

Graphic Module

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 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.

The default value for this texture property is 0.5 .

Physics Module

This texture property does not effect Physics Modules.

Audio Module

This texture property does not effect Audio Modules.

Examples

( TODO: example image )

You could leave a comment if you were logged in.
gamedev/textureproperties/height.1354323071.txt.gz · Last modified: 2012/12/01 00:51 by dragonlord