Reader small image

You're reading from  Unity Virtual Reality Projects

Product typeBook
Published inSep 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781783988556
Edition1st Edition
Languages
Right arrow
Author (1)
Jonathan Linowes
Jonathan Linowes
author image
Jonathan Linowes

Jonathan Linowes is a VR/AR enthusiast, Unity, and full stack developer, entrepreneur, certified Unity instructor, and the owner of Parkerhill XR Studio, an immersive media, applications, and game developer. Jonathan has a bachelor of fine arts degree from Syracuse University, a master of science degree from the MIT Media Lab, and has held technical leadership positions at Autodesk and other companies. He has authored multiple books on VR and AR published by Packt Publishing.
Read more about Jonathan Linowes

Right arrow

Magic orbs


For the next example, we'll look at the sphere from the inside, mapping an ordinary image onto its inside surface. Then, we'll put a solid colored shell around the outside. So, you have to actually walk up to the sphere and stick your head into it to see what's there!

Follow these steps to build it (I'm using the GrandCanyon.png image that we introduced back in Chapter 2, Objects and Scale, but you can use any image—preferably a landscape with big sky):

  1. Move Sphere 1 out of the way and set its Position to (-3, 1.5, -1.5).

  2. Create a new sphere by navigating to GameObject | 3D Object | Sphere, set its Position to (0, 1.5, 0), and name it Sphere 2.

  3. Disable its Sphere Collider component by unchecking the checkbox.

  4. Create a new material by navigating to Assets | Create | Material and name it GrandCanyonInward.

  5. Drag the GrandCanyonInward material onto Sphere 2.

  6. Locate the GrandCanyon texture image and drag it onto the GrandCanyonInward component's Albedo texture (onto the square towards the...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Unity Virtual Reality Projects
Published in: Sep 2015Publisher: PacktISBN-13: 9781783988556

Author (1)

author image
Jonathan Linowes

Jonathan Linowes is a VR/AR enthusiast, Unity, and full stack developer, entrepreneur, certified Unity instructor, and the owner of Parkerhill XR Studio, an immersive media, applications, and game developer. Jonathan has a bachelor of fine arts degree from Syracuse University, a master of science degree from the MIT Media Lab, and has held technical leadership positions at Autodesk and other companies. He has authored multiple books on VR and AR published by Packt Publishing.
Read more about Jonathan Linowes