Summary

In this chapter, we built an art gallery scene from scratch, starting with a plan drawing and going into Blender to construct an architectural structure. We imported the model into Unity and added some environmental lighting. Then, we built an artwork rig consisting of an image quad, a picture frame, and a spotlight, and placed instances of the rig on various walls throughout the gallery. Next, we imported a bunch of personal photos and wrote a script that populates the art frames at runtime. Finally, we wrote a script that takes the first-person camera on a walk-through of the scene, pausing to look at each picture one at a time for a nice, simple VR-on-rails experience.

Then, we had a detailed discussion about optimizing projects for ...

Get Unity Virtual Reality Projects 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.