更新时间:2021-06-11 18:55:21
封面
版权信息
献辞
About Packt
Why subscribe?
Contributors
Preface
Virtually Everything for Everyone
What is virtual reality?
Differences between virtual reality and augmented reality
Applications versus games
Types of VR experience
Types of HMD
How virtual reality works
Technical skills that are important to VR
What this book covers
Summary
Understanding Unity Content and Scale
Technical requirements
Installing Unity
Getting started with Unity
Creating a simple diorama
Using prefabs
Importing content
Setting Up Your Project for VR
Introducing the Unity XR platform
Choosing your target VR platforms and toolkits
Enabling virtual reality for your platform
Building and running your project
Building for SteamVR
Building for Oculus Rift
Building for Immersive WindowsMR
Building for Oculus Quest
Building for Google Cardboard
Using Gaze-Based Control
Adding Ethan the walker
Scripting a random walk target
"Zombie-izing" Ethan!
Going where I'm looking
Making a look-to-kill system
Introducing Unity C# programming
Interacting with Your Hands
Setting up the scene
Using an Input Manager button
Controlling balloons with the input trigger
Using Unity events for input
Tracking your hands
Interacting with a balloon gun
Popping balloons
Canvasing the World Space UI
Studying VR design principles
Making a reusable default canvas
Implementing a HUD
The in-game world space UI
The reticle cursor
Building an interactive dashboard
Direct interaction with UI elements
Building a wrist-based menu palette
Teleporting Locomotion and Comfort
Implementing basic glide locomotion
Climbing a wall
Using the XRI Locomotion System
Teleporting between locations
Locomotion and comfort in VR
Lighting Rendering Realism
Lighting and rendering strategies
Setting up our demo scene
Using environment lighting
Using PBR materials and URP Shaders
Using Light objects and Emission surfaces
Using Light Probes and Reflection Probes
Enhancing your scenes with post-processing effects
Playing with Physics and Fire
Understanding Unity physics
Creating bouncy balls
Managing the GameObject life cycle
Building a headshot game
Building a Paddleball game
Building a shooter ball game
Juicing the scene
Exploring Interactive Spaces
Using ProBuilder and ProGrids
Constructing the art gallery building
Assembling the scene