Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Why do light layers correspond to rendering layer mask? (HDRP)

Discussion in '2021.2 Beta' started by Passeridae, Jul 31, 2021.

  1. Passeridae

    Passeridae

    Joined:
    Jun 16, 2019
    Posts:
    395
    Say, I have a reflection probe and want it to affect only a certain object. So, I set its light layer to a specific layer that I can rename however I want. But to assign an object to this layer I must go to its mesh renderer component and pick a layer from the rendering layer mask dropdown, which contains (!) a completely different list of layers.

    Just to illustrate how the described setup works:

    This is the layer selection on the probe's side
    upload_2021-7-31_20-10-45.png

    This is the corresponding layer on the object's side:
    upload_2021-7-31_20-11-35.png

    I figured this out only because of the fact that these two layers come second in their respective lists. But it's really counter-intuitive. Why do we have the correspondence between different layer systems and why one of them can be renamed while the other can not?

    And an off-topic question: when can we expect the next beta release?
     
    Last edited: Jul 31, 2021
  2. Passeridae

    Passeridae

    Joined:
    Jun 16, 2019
    Posts:
    395