Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

ARCore SDK for Unity v1.10.0

Compare
Choose a tag to compare
@noelvictor1 noelvictor1 released this 20 Jun 21:29
· 18 commits to master since this release

Breaking changes

None.

New APIs

  • New Environmental HDR modes added to Light Estimation API enable more acurate light estimation:
    * LightEstimateMode.EnvironmentalHDRWithoutReflections and LightEstimateMode.EnvironmentalHDRWithReflections.
    * Environmental HDR provides developers with three APIs to replicate real world lighting when using the back-facing camera:
    • Main Directional Light: helps with casting shadows in the right direction.
    • Ambient Spherical Harmonics: helps model ambient illumination from all directions.
    • HDR Cubemap: helps model realistic reflections.

Deprecations

  • Deprecated ARCoreSessionConfig.EnableLightEstimation. To choose the light estimation mode, use ARCoreSessionConfig.LightEstimationMode. To enable the previous behavior when ARCoreSessionConfig.EnableLightEstimation was true, set the light estimation mode to LightEstimationMode.AmbientIntensity. See more details in GoogleARCore.LightEstimationMode.
  • Deprecated the constructor LightEstimate(LightEstimateState, float, Color). Instead, use LightEstimate(LightEstimateState, float, Color, Quaternion, Color, float[,], long).

Behavioral changes

None.

Other changes

  • Upgraded PlayServicesResolver plugin to v1.2.105.0.

  • Assets/GoogleARCore/Configurations/DefaultSessionConfig now defaults to Environmental HDR With Reflections light estimation mode. If you created your own SessionConfig asset, it will retain the previously configured light estimation mode.

  • Environmental HDR With Reflections light estimation mode is now used in HelloAR, AugmentedImage, CloudAnchors, ComputerVision and ObjectManipulation samples.

  • Added Directional Light in Environmental Light.prefab to support new light estimation modes.

  • Added a log message in ARCoreSession component that indicates Light Estimation may not work properly when EnvironmentalLight component is not in the scene.

  • Updated AndyBlue and AndyGreen prefabs to use metallic materials.

  • Added AndyPurple prefab and updated HelloAR to place it on vertical plane.

  • A new TransparentShadow example shader in Assets\GoogleARCore\Examples\Common shows how to use light estimation for higher quality shadows.

  • Instant Preview now supports changing update mode, planefinding mode, and focus mode.

  • Instead of relying on UnityEngine.XR.ARBackgroundRenderer in Unity, ARCoreBackgroundRender now uses its own command buffer to render the camera background.

Bug fixes

  • Fixed bug in CloudAnchors example where a host disconnecting due to a crash or force quit would leave a non-functional room.