User Tools

Site Tools


gamedev:textureproperties:roughness_remap_lower

Skin Texture Property: roughness.remap.lower

Defines the lower remap value for the roughness texture property.

Excepted Data Source1 component value
Data Range0 to 1
Default Value0
Affected ModulesGraphic
Linked Propertiesroughness

Description

The roughness.remap.lower texture property defines together with the roughness.remap.upper 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.upper texture property is always equal or larger than the value of this texture property.

The default value for this texture property is 0.

Examples

Materials with same reflectivity but different roughness

Materials with same reflectivity but different roughness. Using the roughness.remap.lower and roughness.remap.upper the same roughness image can be used but shifted to different value ranges.

You could leave a comment if you were logged in.
gamedev/textureproperties/roughness_remap_lower.txt · Last modified: 2019/05/24 23:43 by dragonlord