The artwork rig

Now, we can plan the art exhibition. We'll create a reusable artwork rig prefab with a picture frame, lighting, positioning, artist info, and a teleportation viewing position. Then, we'll hang the art on the walls of the gallery. Later, we'll apply the actual images. The artwork rig will consist of a picture frame (cube), a photo plane (quad), and a spotlight, all relative to the artwork's placement on the wall. We will create the first one inside our Scene, save it as a Prefab, and then place duplicates on the walls throughout the gallery. I suggest doing this in the Scene view. Let's get started:

  1. Create a container object by navigating to GameObject | Create Empty. Name itArtworkRig.
  2. Create the frame. With ArtworkRig selected, ...

Get Unity Virtual Reality Projects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.