The SDK comes in the form of a Unity Package. To import:
Create a project or open an existing one
Double click the downloaded .unitypackage file, or go to Assets > Import Package > Custom Package.
Import the package
Importing a sketch
To use a Tilt Brush sketch inside of Unity, you need to export it and copy the exported .gltf file into your project. You do _not _need any of the .png files that come with the export. The SDK will use its own, Tilt Brush materials instead.
The SDK will process .glb files on import and assign the correct materials.
To export a sketch:
Open Tilt Brush, load your sketch
Click the [...] icon in the settings area of your hand menu
Click the **Labs **icon
Hit Export in the floating window that pops up
To import a sketch into your scene:
Copy the .glb file (in My Documents/Open Brush/Exports on Windows or Documents/Open Brush/Exports on Mac) into your Unity project
Drag the file from the Project window into the Hierarchy
The Open Brush Unity SDK doesn’t load .tilt files.
You don’t need to copy the textures included with the .glb into your project
Linear vs Gamma
The v11 toolkit shaders support both sRGB (Gamma) and Linear color spaces. The shaders are set to Gamma mode by default. If you wish to use Linear, add this call somewhere in your program.
You can make the brushes wiggle to the audio in your scene:
Drag the** [Tilt Brush Audio Reactivity] prefab** into your scene
Add an audio source to your scene, if there’s none
If the brushes aren’t moving, you can select the prefab in Play mode to visualize the audio data the shaders are receiving:
You can achieve_ an Open Brush look_ by adding Bloom, using Unity’s built-in shaders:
Import the Standard Assets “Effects” package (Assets menu / Import Package / Effects)
**Important: **Enable your camera’s HDR checkbox
Add the Bloom post-processing effect, these are recommended settings:
Internally, Open Brush uses a modified version of Sonic Ether bloom, which has been released as open source.