Start Page » Game Development with the Drag[en]gine » Skin Texture Properties » Texture Property Database » roughness.remap.upper
Defines the upper remap value for the roughness texture property.
Excepted Data Source | 1 component value |
Data Range | 0 to 1 |
Default Value | 1 |
Affected Modules | Graphic |
Linked Properties | roughness |
The roughness.remap.upper texture property defines together with the roughness.remap.lower texture property a remapping of the values of the roughness texture property. The remapping squeezes and offsets the values from the 0 to 1 range to the roughness.remap.lower to roughness.remap.upper value. This can be used to modify a roughness image without needing to change it. This allows also to reuse roughness images across multiple materials. Many materials share similar roughness images just with different ranges of roughness values. Using the remapping this can be done fast and with less images created. Another use is to use the full depth resolution of images even if the final roughness range is rather narrow. In this case the roughness image is autored from black to white and placed in the right roughness value range using the remap texture properties.
See the roughness texture property for information about how roughness works or see physically based rendering for a detail explanation of the physically based rendering system.
The source is typically a single component value inside the range from 0 to 1. Make sure the roughness.remap.lower texture property is always equal or larger than the value of this texture property.
The default value for this texture property is 1.