User Tools

Site Tools


gamedev:textureproperties:height_scale

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gamedev:textureproperties:height_scale [2012/12/01 00:55] – created dragonlordgamedev:textureproperties:height_scale [2019/05/24 23:43] (current) – ↷ Links adapted because of a move operation dragonlord
Line 1: Line 1:
 +{{tag>graphic skin texture heightmap}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[gamedev:main|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **height.scale**+[[:start|Start Page]] >> [[:gamedev|Game Development with the Drag[en]gine]] >> [[gamedev:skinproperties|Skin Texture Properties]] >> [[gamedev:texturepropertylist|Texture Property Database]] >> **height.scale**
 </WRAP> </WRAP>
  
-====== Summary ====== +====== Skin Texture Property: height.scale ====== 
-|Texture Property Name|height.scale|+ 
 +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|
-|Graphic Module|Defines the scaling for the height texture property.+|Affected Modules|Graphic| 
-|Physics Module|No effect| +|Linked Properties|[[gamedev:textureproperties:height|height]], [[gamedev:textureproperties:height_offset|height.offset]]|
-|Audio Module|No effect|+
  
-====== Graphic Module ====== +====== Description ====== 
-The **height.scale** texture property is linked to the **[[gamedev:textureproperties:height|height]]** texture property. It defines the scaling for the height values and thus the maximum distance below and above the surface. For high definition range images this texture property is not really required.+ 
 +The **height.scale** texture property is linked to the [[gamedev:textureproperties:height|height]] texture property. Defines the scaling of the height values
 + 
 +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 and offseted by the offset factor resulting in the final height values. For generating normal maps this is not required. As an example if the hills and valleys are at most 1cm then a scaling of 0.02 (1 divided by 50) has to be used (0.5m times 0.02 yields 0.01m or 1cm).
  
 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. 
  
 The default value for this texture property is 0.1 . The default value for this texture property is 0.1 .
- 
-====== Physics Module ====== 
-This texture property does not effect Physics Modules. 
- 
-====== Audio Module ====== 
-This texture property does not effect Audio Modules. 
  
 ====== Examples ====== ====== Examples ======
 +
 ( TODO: example image ) ( TODO: example image )
gamedev/textureproperties/height_scale.1354323312.txt.gz · Last modified: 2012/12/01 00:55 by dragonlord