how Unity handles roughness maps
Unity uses inverted smoothness packed into mask map channels rather than standalone roughness textures, which can be customized via custom shaders.
- Unity uses smoothness instead of roughness, which is calculated as the inverse value where smoothness equals one minus roughness
- In the metallic workflow, textures are packed into a mask map containing metallic, ambient occlusion, detail, and smoothness across individual channels
- Substance Painter streamlines Unity channel packing, or developers can write custom shaders to unpack texture maps according to their preferred conventions
- Texture packing plugins can automatically bundle separate maps into RGBA channels and invert roughness into smoothness inside the editor


