

This Cubemap is then assigned to one of Unity's Reflection Probes for use by shaders for ambient light and reflection calculations! Package Manager->Show Preview Packages->ARCore XR Plugin->Install How Does it Work?Īs the user interacts with the environment, this tool creates a Cubemap using the device's camera. Package Manager->Show Preview Packages->AR Foundation->Install Package Manager->Show Preview Packages->Windows Mixed Reality->Installįor ARFoundation functionality, please make sure you add the ARFoundation package, along with the associated platform specific AR packge: For this to work you need the WMR package: The Demo scene uses the Spatial Mapping Collider for placing objects on surfaces in HoloLens. MR Lighting Tools does not require the Mixed Reality Toolkit, but does work well with it! Configuration for Example Scene Functionalityįor the LightingTools_Demo scene running on HoloLens, permissions for Microphone (voice commands) and PicturesLibrary (saving active Cubemap to user's photo library) should be enabled. Please use Unity 2018.3 or greater, and ensure your application has permission to access the WebCam! unitypackage over in the releases tab, or copy the MixedRealityToolkit.LightingTools folder into your project's Assets folder.

You can check out the LightingTools_Capture scene for an example of the bare minimum required for light capture to work. If you want this example to work in-editor on a laptop that has a camera and a gyroscope, add the FollowGyroscope component to your scene's Main Camera. That's it! This will create a GameObject in your scene with the LightCapture component on it, this should work on the HoloLens automatically. Mixed Reality Toolkit / Lighting Tools / Create Light Capture Object Want to learn more? Check out this short talk about the Mixed Reality Lighting Tools from AWE! They're great if all you need is something that fits in with the lighting! They're also pretty simple and slim, so they're good to build on top of. Light Capture is a tool for estimating and replicating the current environment's light! As the user moves through their environment, their device will take pictures and build an internal representation of the lighting, which it then feeds into Unity's lighting system for use with your own preference of shaders.Īlso included is a set of shaders that are streamlined for fast rendering of the lighting data.
