This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gamedev:textureproperties:height_offset [2019/05/09 08:41] – removed dragonlord | gamedev:textureproperties:height_offset [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
+ | <WRAP youarehere> | ||
+ | [[: | ||
+ | </ | ||
+ | ====== Skin Texture Property: 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|[[gamedev: | ||
+ | |||
+ | ====== Description ====== | ||
+ | |||
+ | The **height.offset** texture property is linked to the [[gamedev: | ||
+ | |||
+ | 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. | ||
+ | |||
+ | ====== Examples ====== | ||
+ | |||
+ | ( TODO: example image ) |