-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Unity Virtual Reality Projects
By :

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):
Move Sphere 1
out of the way and set its Position to (-3, 1.5, -1.5
).
Create a new sphere by navigating to GameObject | 3D Object | Sphere, set its Position to (0, 1.5, 0
), and name it Sphere 2
.
Disable its Sphere Collider component by unchecking the checkbox.
Create a new material by navigating to Assets | Create | Material and name it GrandCanyonInward
.
Drag the GrandCanyonInward
material onto Sphere 2
.
Locate the GrandCanyon
texture image and drag it onto the GrandCanyonInward
component's Albedo texture (onto the square towards the...