Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Incorrect harmonics computed for some lightprobe positions. Is it a bug or is there a workaround?

Discussion in 'Global Illumination' started by TheHellTerrier, Aug 17, 2015.

  1. TheHellTerrier

    TheHellTerrier

    Joined:
    Jun 8, 2011
    Posts:
    8
    Hi there, I was wondering if anyone could shed any light on why I keep getting incorrect lighting on a small fraction of my light probes as can be seen in the attached image. I'm using 5.1.2F1 64bit on Windows 8.1 and I have artificially increased the size of the probe gizmos to make them more visible.

    Unity Light Probe Weirdness.jpg
    My lighting scripts basically flood the level with probes and then remove probes in areas where the light remains relatively constant. This appears to work well but minor glitches in the harmonics calculated for some of the probes means that the lighting on my vehicle seems to flicker needlessly whether I optimise them or not.

    Some probes are completely black, some look like they're upside down and others just don't seem to sit well with their surrounding probes even when out in the open with nothing else around them.

    Does anyone know what's wrong? Is there a minimum distance probes can be placed to geometry or is there anything else I can do to improve the results?
     
  2. TheHellTerrier

    TheHellTerrier

    Joined:
    Jun 8, 2011
    Posts:
    8
    Ahh, found it. Everything looks much better now.
    Capture.PNG