Explore the Oculus Unity Spatializer with the Sample Scene

On this Page

The RedBallGreenBall sample scene provides a simple introduction to OSNP resources and examples of how what the spatializer sounds like.

The following image shows the scene.

This simple scene includes a red ball and a green ball, which illustrate different spatializer settings. A looping electronic music track is attached to the red ball, and a short human voice sequence is attached to the green ball. The room model used to calculate reflections and reverb is visualized in the scene around the listener.

You can launch the scene in the Unity Game View, navigate with the arrow keys, and control the camera orientation with your mouse to quickly hear the spatialization effects.

Open the Scene

To import and open RedBallGreenBall:

  1. Create a new Unity project.
  2. Import the OculusNativeSpatializer.unitypackage.
  3. When the Importing Package dialog opens, leave all assets selected and click Import.
  4. Enable the Spatializer as described in Download and Setup
  5. Open RedBallGreenBall in /Assets/scenes.

To preview the scene with a Rift:

  1. Import and launch RedBallGreenBall as described above.
  2. In Build Settings, verify that the PC, Mac and Linux Standalone option is selected under Platform.
  3. In Player Settings, select Virtual Reality Supported.
  4. Preview the scene normally in the Unity Game View.