Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question I can't bake lightmaps in HDRP

Discussion in 'Editor & General Support' started by Udjani, Apr 6, 2020.

  1. Udjani

    Udjani

    Joined:
    Mar 16, 2018
    Posts:
    19
    I iam learning about baking lightmaps (version 2019.3.7f1). But i can't make it work in the HDRP, is working fine on the Universal Pipeline tho. What am i missing? Also the texture are not apearing on my materials and meshes inside the folders.

    HDRP

    https://imgur.com/2LWhydh

    Universal

    https://prnt.sc/rtstm2
     
    Last edited: Apr 6, 2020
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,631
    You posted the same image twice.

    (also please post your lighting settings)
     
  3. Udjani

    Udjani

    Joined:
    Mar 16, 2018
    Posts:
    19
    I updated the link above, here a ss of the lighting settings: https://prnt.sc/rtsd5e

    I can't spot any relevant difference from the Universal Pipeline scene.
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,631
    What happens if you click Generate Lighting?
     
  5. Udjani

    Udjani

    Joined:
    Mar 16, 2018
    Posts:
    19
    I did already, it stays that way. You can see that there are some stuff baked in the lightmap texture.

    https://prnt.sc/rtssc0
     
    Last edited: Apr 6, 2020
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,631
    I think the lightmaps are baking fine, you just don't have enough reflection probes to cover the entire area, so everything falls back to the environment probe, that makes everything extra washed out.

    Add more reflection probes, or get that reflection probe in the center, and extend the bounds so it covers most of the level.
     
  7. Udjani

    Udjani

    Joined:
    Mar 16, 2018
    Posts:
    19
    Yep, it was part of it, i didn't noticed that there is inner and outer face to scale on those new probes. And the exposure was too high, that's why the lightmaps were all white. Thank you!