User Tools

Site Tools


gamedev:textureproperties:nonpbr_metalness

Skin Texture Property: nonpbr.albedo

Excepted Data Source3 component image
Data Range0 to 1 for all image components
Default Value(0, 0, 0)
Affected ModulesGraphic
Linked Propertiesnonpbr.metalness

Description

Defines color using Non-PBR Albedo. This texture property is part of Non-PBR Metalness workflow and is used together with the nonpbr.metalness texture property. These values are Non-PBR since they do not represent a single real world material properties. Instead they store color and reflectivity texture property in a merged format distributed across an albedo and a metalness texture image.

The albedo image stores color for dieletric parts of the material and a limited reflectivity for eletric parts of the material. The metalness texture is used as mask. Only for true black and white metalness image this conversion yields reasonable results. For blended values problems like white-edging can happen.

The conversion rule used is:

  • color = mix(albedo, vec3(0), metalness)
  • reflectivity = mix(vec3(0.04), albedo, metalness)

Reflectivity is limited since it maps to the range from 4% to 100% reflectance and can not represent well materials with partial eletric behavior.

These texture properties exist to allow using textures authored by tool supporting only the Non-PBR Metalness workflow as well as porting from other game engines.

The albdeo values are typically an 8 bit image with 3 color components with the data of all color components located inside the range from 0 to 1. Values outside this range are physically not plausible.

The default value for this texture property is pure black (0, 0, 0).

You could leave a comment if you were logged in.
gamedev/textureproperties/nonpbr_metalness.txt · Last modified: 2022/05/03 17:34 by dragonlord