Search Unity

ARKit adapting to light?

Discussion in 'AR' started by reinabada, Nov 22, 2017.

  1. reinabada

    reinabada

    Joined:
    Apr 13, 2017
    Posts:
    7
    Hi!
    I am currently learning to do a few things ARKit in Unity. Does anybody knows if it is possible to adapt the light of my object to the environment light?
    Thanks you!
    Maria
     
  2. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    Yes, just drop the ambientlight script on your directional light. It changes the intensity for you.
    Changing colour temperature may also be possible i think.
    You can't get the direction of the lighting though..
    You could use a daylight system if you have an outdoor scene to match the sun's position. I have done that in my Tesla demo.
     
    reinabada likes this.
  3. reinabada

    reinabada

    Joined:
    Apr 13, 2017
    Posts:
    7
    Wow you demo looks amazing!
    Thank you for the help.
    Maria