Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Feedback Discrepancy between the manual & API documentation

Discussion in 'Documentation' started by NanushTol, Nov 27, 2020.

  1. NanushTol


    Jan 9, 2018
    Hi there Unity people
    There is a discrepancy in the the details of the TerrainLayer Mask Map channels
    in the Manual it says

    For the HDRP and URP TerrainLit Shader, the RGBA channels of the Mask Map Texture correspond to:
    R Metallic
    G Ambient Occlusion
    B Height
    A Smoothness (Diffuse Alpha becomes Density)

    and in the API it says
    The content of each channel varies by the terrain shader. For HDRP TerrainLit shader, the channels are:
    R: Height - used when doing height based blending
    G: Smoothness
    B: Metallic.

    can someone please tell me witch one is the correct channel order?