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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

layeredLit height blend

Discussion in 'High Definition Render Pipeline' started by lGillot, Nov 30, 2019.

  1. lGillot

    lGillot

    Joined:
    Apr 11, 2013
    Posts:
    16
    Hi guys,
    I feel very confused about the height blend of the layeredLit material.
    It looks like the parametrization of the height maps is good for nothing. And everything is controlled by the height transition slider.
    Which doesn't make sense to me. The way I see it, the parametrization should be a remapping range in real world values.
    eg:
    if layer1 is going from -50 cm to 50 cm, and layer2 from -50 to 0, layer 2 should only be seen in the depth of layer1.
    And if layer2 if remapped from -100 to -50, it should even not be seen.

    But obviously i'm wrong.

    Can someone explain to me how it works?
     
  2. lGillot

    lGillot

    Joined:
    Apr 11, 2013
    Posts:
    16
    If it can help someone. I found out that editing materials used as layers in the main layeredLit works.

    If i change values (only for height) in the layeredLit directly, nothing happens. But if I edit values in one of the material then re apply it in the layeredLit it works.
    Not handy though...