UnityRef is currently in early development. Some features may be incomplete and/or not functioning.

UNITYREF

Your Pit Stop For Solving ANYTHING in Unity

graphics

[Texture Workflow] Optimize Channel Packing and Material Setup

Under Audit

memory management

Unity 2022.3.x - Unity 6.1.x

Published 19 days ago

This issue addresses common confusion regarding Unity's texture handling, including channel packed textures, material properties like Smoothness, and distinctions between different PBR workflows (Metallic Standard vs. Specular Glossiness) within the High Definition Render Pipeline (HDRP).

Issue

 There is a notable difference in how Unity processes and prefers channel packed textures when compared to other game engines, specifically concerning Substance Painter export presets. Users are often confused about the proper mapping of textures to channels within Unity's material setup. For example, the meaning and application of the Smoothness setting in Unity materials can be unclear, particularly in relation to roughness and glossiness found in other texturing setups (e.g., Specular Glossiness). It is often presumed that Unity's HDRP primarily utilizes a Metallic Standard workflow, leading to questions about the relevance and role of Specular Glossiness in this pipeline. Additionally, default material presets may lack explicit controls for certain properties, such as occlusion, which prompts users to consider creating custom shaders. The optimal texture file format for Unity, such as .tif versus .PNG files, is also a point of inquiry.

Experimental Fixes
  • Ensure Substance Painter export settings are configured specifically for the target Unity Render Pipeline (HDRP, URP, or Built-in) to correctly package channel packed textures.
  • For Metallic Standard workflow in HDRP, Smoothness is the inverse of roughness; verify your source textures reflect this convention.
  • To expose specific material controls not present in default presets, consider creating a custom Shader Graph or modifying existing Shader properties.

Editor's Note:

The above fixes have not been verified by our audit team yet. They are provided exclusively for your own technical research. We recommend creating a backup of your project before proceeding with any attempts. Utilize at your own discretion!

Related Posts Haven't quite found a solution to your problem? We think these posts might help you.

Content inspired by a Unity discussion post.