The Asset Library is a repository of Lens assets and helpers that you can use to bootstrap or to refine your Lenses. It contains everything from simple reusable assets, to machine learning models that allows you to add new capabilities to your Lenses.
What’s in it
3D: 3D models you can add to your
2D: Textures, hints, masks, and more
- Materials: Custom shaders that changes the look of any mesh in your scene
- Tools: Helper scripts that adds capabilities to to your Lens
- VFX: Custom shaders and effects that change how your Lens looks.
- SnapML: New models like household object detection, face covering classification and more.
- Audio: SFX and background sounds.
Using the Asset Library
You can open the Asset Library within your project, by pressing the
Asset Library button next to the
Lens Size button in the top left of Lens Studio
Once opened, you’ll be able to find different categories of assets in the sidebar, and a grid of assets on the left.
For each asset, you can find an
(i) button that tells you more about the asset on hover.
To import the asset, click on the Import button at the bottom of the item.
Using the Assets
There are different ways to bring the imported assets into your Lens depending on its type.
Most commonly, your assets will come in a
Prefab which you can find in the
Resources panel. To use it, drag the asset (item with the
icon P on a box) from the
Resources panel, into the
Objects panel. Once added, you can find the assets you want and delete the ones you don’t want.
Tip: In some cases, you'll want to add the
Prefab under an
Orthographic Camera since the effects is for the screen. Take a look at this guide to learn more about adding an orthographic camera!
In some cases, your assets may come in as an
LSO. In these cases, the asset will automatically be added into the
Objects panel. This is more common when the asset requires different Cameras to achieve the effect.
Tip: This is no different than you right clicking an object in the
Objects panel and choosing export, and sending it to your friend who will right click on the
Objects panel and press
Tip: If the assets utilizes cameras, take a look at the
Scene Config panel to further customize how the assets are used in your Lens.
Some assets may come with additional instruction on how to integrate it into your scene. In these cases, you might either have an image with instructions found in the
Resources panel, or a print out in the
Logger panel with a link that you can go to.
Tip: You can open the image with instructions by using the viewer in the
Inspector panel (click on the item in the
Resources panel), or by viewing with your computer’s image viewer (navigate to your Lens folder and opening the image with your computer’s viewer.
Some assets may come with additional instruction on how to integrate it into your scene. In these cases, you will see an object marked with
[DELETE_ME] in the
Objects panel, which you can right click and delete once you've read it.
Still Looking for help?Visit Support