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. Dismiss Notice

Point light's light cut in half

Discussion in 'High Definition Render Pipeline' started by dragon_slumber, Jan 11, 2020.

  1. dragon_slumber

    dragon_slumber

    Joined:
    Jun 11, 2017
    Posts:
    26
    Hey everyone,

    I have a weird issue since I've switched over to HDRP, my point lights no longer spread light properly across scenes. Instead the light abruptly stops in one direction, while spreading properly in another. Rotating the light makes no difference, nor does moving it. The ground tiles are all individual objects if that helps. Any idea what might be causing this?

    Thank you, Kevin

     
    konsic likes this.
  2. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    995
    Are you sure this is point light? It looks to me it's spotlight.
     
  3. dragon_slumber

    dragon_slumber

    Joined:
    Jun 11, 2017
    Posts:
    26
    Yup, I am 100% sure it's a point light. Not only that, but I have several point lights in several levels and they all act the same, they all point in the same direction. However, from one level to another, the direction does change.

    This works fine on my 2018.3.1f1 version, but it stopped working when I converted to 2019.2.17f1 and to HDRP (I didn't test before I switched to HDRP).
     
  4. dragon_slumber

    dragon_slumber

    Joined:
    Jun 11, 2017
    Posts:
    26
    I just found the solution, archiving for those who might wonder. My floor material was using a Normal Map Space as Object Space instead of Tangent Space, which caused this.
     
    porig, TisePw and maurofuentes like this.
  5. maurofuentes

    maurofuentes

    Joined:
    Apr 5, 2018
    Posts:
    8
    Oh, maaaaan! thanks! HAHAHAHAHAHAHAHA
     
  6. cosades334

    cosades334

    Joined:
    May 2, 2017
    Posts:
    8
    I had this problem, and for me it was because I set a one plane scale value to 0 ([9,0,9] exactly, solved with [9,1,9]) (no texture was used)
     
  7. Predulus

    Predulus

    Joined:
    Feb 5, 2018
    Posts:
    89
    How did you fix it? I have the same problem.
     
  8. B_ware

    B_ware

    Joined:
    Mar 14, 2021
    Posts:
    3
    The problem could come from UVs in general, here an example:
    Mesh without UVs (or not qualitative UVs I would say) and a spot light:
    upload_2023-6-6_21-4-40.png

    Same mesh with UVs and same light:
    upload_2023-6-6_21-5-49.png

    Hope this can help someone