Search Unity

Question ARFoundations (ARCore) missing values in light estimation

Discussion in 'AR' started by joze05, Dec 3, 2021.

  1. joze05

    joze05

    Joined:
    Jun 24, 2019
    Posts:
    5
    I'm currently working on a Light Estimation algorithm for my Master Thesis and since my software uses ARCore anyway I wanted to compare the result against the built-in Light Estimation from ARCore for evaluation.

    So I activated the light estimation in the ARCameraManager Object and used the provided sample script as starting point. I get values for the ambient spherical harmonics and main light direction for example, but for some reason I don't get any values for average brightness, color correction or main light intensity. I want to use those values to control a directional light to created shadows mainly.

    Anyway, what could be the reason for the missing values, how can I check if any options are missing or wrongly set? The documentation is a bit sparse when it comes to things not working as intended.

    Any help is much appreciated!
     
  2. todds_unity

    todds_unity

    Joined:
    Aug 1, 2018
    Posts:
    324