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

Point light problem (only illuminates half)

Discussion in 'Global Illumination' started by EliasLeonard, Apr 17, 2015.

Thread Status:
Not open for further replies.
  1. EliasLeonard

    EliasLeonard

    Joined:
    Apr 17, 2015
    Posts:
    5
    So I've made a scene by copying a panel a few times to create a ground.
    I've thrown out all lighting (so the world outside of the levels is black) and started putting point lights in it, but some weird things are happening:
    1: the point light isn't creating a nice spherical light and actually only illuminates at one half (which can't be rotated so the south half will only be giving light)

    2: The light does weird thing with the panels which makes it super obvious it i made it with panels and its not one big floor.


     
  2. EliasLeonard

    EliasLeonard

    Joined:
    Apr 17, 2015
    Posts:
    5
    Also when i just use one plane as my ground, it looks like it receives light from only one point light. And that source changes a when I move that big plane around.
     
  3. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,893
    Are you in Deferred/Linear lighting mode? Edit > Project Settings > Player.
     
  4. EliasLeonard

    EliasLeonard

    Joined:
    Apr 17, 2015
    Posts:
    5
    Thanks!
    uhm not sure what you mean but when i go to Edit> Project Settings> Player>Other Settings> Rendering Path
    it says "Forward" in the dropdown menu and when I change it to "deferred" or "legacy vertex lit" my problems are mostly solved concerning the visibility of my panels. But my point lights are still only giving away light on the south half side when using deferred. So the legacy vertex lit is working the best but still does some weird stuff like corners very dark (space between floor and wall), like it's using way to much ambient occlusion.

    Legacy vertex lit:


    deferred (and deleted a few point lights because it was way over exposed):

     
  5. Steven

    Steven

    Joined:
    Dec 23, 2009
    Posts:
    43
    Check the normal map is set as a normal map in the import settings for the floor material.
     
    blizzy likes this.
  6. EliasLeonard

    EliasLeonard

    Joined:
    Apr 17, 2015
    Posts:
    5
    Well I don't use a normal map, only albedo
     
  7. Steven

    Steven

    Joined:
    Dec 23, 2009
    Posts:
    43
    Well I was no help then, was I.

    Are the meshes default cubes or did you model them and import them? Maybe there is something wrong with your models.
     
  8. EliasLeonard

    EliasLeonard

    Joined:
    Apr 17, 2015
    Posts:
    5
    well i just made some square planes in max, then exported them as fbx's and imported them in unity.
    But i found a "solution": the lighting is way better when i don't build my floor out of those square planes but rather just use one big plane. This is isn't ideal because i have to make unique planes for every level when I want holes in the floor.
    But using one big plane does the trick.
    Changing lighting mode in the project settings like Stardog said can also make it better.
     
Thread Status:
Not open for further replies.