Setting up your Development Environment
1) Installs and Downloads
The Looking Glass Unity Plugin requires:
Unity v2021 or later
Looking Glass Bridge v2.0.9 or later
This plugin is compatible with:
Windows 10 or 11
Mac with Apple Silicon
Mac with Intel Chips
For best performance, we recommend Windows laptops with dedicated graphics cards, ideally an RTX 3070 or better.
This plugin supports:
Built-in Render Pipeline
Universal Render Pipeline (though there are known issues with post-processing, deferred rendering, and the 3D cursor)
Once your Looking Glass is connected to your computer, you'll want to download the Plugin:
2) Display Settings
In order to see your Unity Scene with a live, real-time preview on your Looking Glass, it will need to be configured with your computer as an extended display, not a mirrored one.
For Mac
Open your system preferences and go to display settings and ensure "Mirror Displays" is off.
It is also recommended that you set your Mission Control preferences so that "Displays have separate Spaces" is toggled on. This will allow Unity builds to target only your Looking Glass monitor, leaving your main monitor free to use normally.
For Windows
Open your display settings. Select Extend these displays from the Multiple displays pulldown.
Also, ensure that Change the size of text, apps, and other items is set to 100% and that the resolution of the second display matches the following:
1536 x 2048 for the Looking Glass Portrait
2560 x 1600 for the 8.9" Looking Glass (Legacy)
3840 x 2160 for the 16" Looking Glass
7680 x 4320 for the 32" and 65" Looking Glass
For Linux (Ubuntu)
Open your display settings, and select Join Displays, and click Apply. Ensure that the resolution of your Looking Glass display has been set to the following:
1536 x 2048 for the Looking Glass Portrait
2560 x 1600 for the 8.9" Looking Glass (Legacy)
3840 x 2160 for the 16" Looking Glass
7680 x 4320 for the 32" and 65" Looking Glass
3) Importing the Looking Glass Plugin into Unity
Open Unity Hub and click "New project" on the top right side of the window to start a new project.
Title the project and make sure that "3D Core" or "3D (URP) Core" is selected. Select the Create project button at the bottom right.
Within the new project, select Assets -> Import Package -> Custom Package..., and select the Looking Glass Plugin. You can alternately double click the .unitypackage file or drag the Unity package into your assets folder, as pictured below.
Select "Import."
When the package finishes importing, select "Apply Changes."
4) Cast a Hologram to your Device
With you Looking Glass display connected, open the scene located at Assets/LookingGlass/Basic Example.unity
To cast the hologram to the display:
Select the โHologram Cameraโ object in the scene hierarchy
In the inspector, scroll down and select โCast to Looking Glass (CTRL + E)โ
If you see the example scene in your display, your environment is set up properly. If not, please visit our additional support page.
You can learn more about our example scenes here.
Head back to the intro page for more information about all the features, and see the script references.
Last updated