Search Unity

Some documentation on how light estimation works please.

Discussion in 'AR' started by R0man, Aug 1, 2019.

  1. R0man

    R0man

    Joined:
    Jul 10, 2011
    Posts:
    90
    Please add some documentation on how light estimation is supposed to work.

    Here is the documentation: https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@2.2/manual/index.html

    Thats great, but does it actually change the scene lighting. I tried to take a look in "ARLightEstimationData" in Visual Studio, but it is nowhere to be found.

    Users can't test this easily since the AR Foundation remote is broken. Why not just take a minute to explain how it works? Do I have to set scene light data manually or is it simply done by magictm?
     
    grubertm_unity likes this.
  2. vincentfretin

    vincentfretin

    Joined:
    Jul 4, 2019
    Posts:
    7
    You need a script to retrieve the light intensity from the camera frame and apply it yourself on the Light component. See the LightEstimation.cs script in arfoundation-samples.
     
    R0man likes this.