Search Unity

[Solved] Light Probes result in dark areas

Discussion in 'Global Illumination' started by joshcamas, Feb 22, 2018.

  1. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,278
    Hello friends :)

    I'm having a troubling problem. I have an outside area with some light probes, and using them results in some troubling problems:


    Mesh with light probes enabled


    Mesh with light probes disabled

    This looks like the same problem as here and here

    I've tried setting the ambient mode allll the way up, but of course that does not work.

    Thoughts?

    -Josh
     
  2. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,278
    I spent hours trying to fix this, and of course I figure it out right as I write a post.

    The problem was I had some probes underground, so it was blending between very dark and the normal level of bright.


    Whooops

    Since I have an open world, and the world is split into chunks (sub scene), I tried setting a big ol matrix of light probes as a prefab and automatically stuck them into each sub scene. Turns out that was a mistake.

    However, I did find an amazing script:
    https://github.com/gampixi/auto-lig...ets/Editor/LightProbes/LightProbePlacement.cs

    It automatically generates light probes by looking at the navmesh. It's beautiful and should be coveted by all. <3
     
    Last edited: Feb 22, 2018
    kristijonas_unity likes this.