Start Page » Game Development with the Drag[en]gine » Skin Texture Properties » Texture Property Database » height.offset
Defines the relative offset for the height texture property.
Excepted Data Source | 1 component value |
Data Range | any value |
Default Value | 0 |
Affected Modules | Graphic |
Linked Properties | height, height.scale |
The height.offset texture property is linked to the height texture property. Defines the relative offset of the height values.
Positive values move the height values away from the surface while negative values move them into the surface. This can be used for height maps only denting into or only bumping out of the surface to maximize the texture resolution. The effective offset added to the height is the height.offset multiplied by the height.scale. The height.offset can thus be considered the percentage shift of the height texture property values. The typical range is from -0.5 (height of 1 is surface level and 0 the total bottom) to 0.5 (height of 0 is surface level and 1 the total uphill). For generating normal maps this is not required.
The source is typically a single component value representing the offset of the height values relative to the height scaling.
The default value for this texture property is 0.
( TODO: example image )