生产指南

Unity roughness 与 smoothness

当 Unity shader 需要 smoothness 时,正确转换 roughness。

生产问题

许多 Unity shader 使用 smoothness,它通常是 roughness 的反值;直接塞 roughness 会让材质响应反过来。

判断清单

  • 确认材质槽需要 roughness 还是 smoothness。
  • 把 roughness 接入 smoothness 前应先反相。
  • AO 和 height 仍保持线性数据贴图。

常见失败案例

  • 粗糙混凝土可能因为 roughness 被当成 smoothness 而变亮变滑。
  • Normal 贴图仍必须使用 Unity 的 Normal map 导入类型。

生产 FAQ

Smoothness 等于 roughness 吗?

不是。Smoothness 通常是 1 减 roughness。

Smoothness 应该打包到哪里?

取决于 Unity shader 或管线,需要确认 URP/HDRP 材质契约。