ARCore SDK for Unity v1.10.0
Breaking changes
None.
New APIs
- New Environmental HDR modes added to Light Estimation API enable more acurate light estimation:
*LightEstimateMode.EnvironmentalHDRWithoutReflections
andLightEstimateMode.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, useARCoreSessionConfig.LightEstimationMode
. To enable the previous behavior whenARCoreSessionConfig.EnableLightEstimation
was true, set the light estimation mode toLightEstimationMode.AmbientIntensity
. See more details inGoogleARCore.LightEstimationMode
. - Deprecated the constructor
LightEstimate(LightEstimateState, float, Color)
. Instead, useLightEstimate(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 ownSessionConfig
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 whenEnvironmentalLight
component is not in the scene. -
Updated
AndyBlue
andAndyGreen
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.