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.

Environment probe issues

Discussion in 'AR' started by eco_bach, May 20, 2019.

  1. eco_bach


    Jul 8, 2013
    2 issues I am having.
    The first is the sudden jumping of the maps instead of a smooth transition.
    Another user mentioned it here as well

    The 2nd seems to be that certain environments tend to ‘fool’ the probes or are more challenging to resolve.
    For instance testing recently in an indoor atrium with sunlight coming in from overhead but no blue sky visible I can clearly see blue sky being reflected in my reflective material.
    Are some environments better than others for environment probes?
    How are they created and updated?
    Does the orientation of your mobile device matter when the application launches and the probes are first created?

    Can they be manually placed and if so, what would be the advantages over letting Arkit do it automatically? <bump>
    Last edited: May 21, 2019
  2. hawken


    Aug 22, 2013
    You can manually place them, I’m doing this by having them spawn by raycasting a hit to a plane, as provided in the arkit samples. As for spawning them by a vector3, looked a bit complex so skipped for now. Actually would be great to know how this is done, any clues @jimmya ?

    AR Render probes don’t support blending so they will change image abruptly.

    The update frequency seems to be a system thing, not sure how to edit this.

    Orientation has no effect.
    Last edited: May 23, 2019
  3. eco_bach


    Jul 8, 2013
    Thanks. The official Apple ARkit documentation confirms manually placing is possible and also that softening transitions should be done automatically by SceneKit. Need an easy way to accomplish both with ARFoundation.

    With ARSCNView, if the environment probe texture(s) affecting an object change (either because the object moves or because a new texture becomes available for its current position), SceneKit automatically uses a short fade-in animation to transition to the new result.

    Created a quick demo but until Unity refines the Environment Probe feature to allow disabling of runtime auto placement its unusable IMHO.
    Last edited: May 26, 2019