Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question AR Foundation and HRD/Lightning issue or a feature?

Discussion in 'AR' started by BinaryBanana, Nov 14, 2021.

  1. BinaryBanana

    BinaryBanana

    Joined:
    Mar 17, 2014
    Posts:
    81
    Hi,
    I am working on image processing project with AR Foundation. It's important for me to read accurate colors as much as possible and average them over time. However, I noticed that scene/camera gets different light when I rotate it.

    On left, chair image comes as gray. The moment I turn the camera down (it's the same position), image get's more light and becomes kind of blue.
    ImageProcessingWithARFoundation.png
    Is this something that can be configured from Unity camera/AR/lighting settings? I tried turning/tweaking HDR. I also experimented with auto focus.

    I know that by using my OS phone camera, I am getting similar result and it's probably a camera feature but in this case, I want the same chair color regardless how I rotate the phone.
     
  2. BinaryBanana

    BinaryBanana

    Joined:
    Mar 17, 2014
    Posts:
    81
  3. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,008
    Wild guess.
    I would say that your camera (real camera) is using some kind of auto exposure system.
    Or maybe it is in unity ? But still it looks like exposure problem.
     
  4. todds_unity

    todds_unity

    Unity Technologies

    Joined:
    Aug 1, 2018
    Posts:
    324