Reader small image

You're reading from  Enhancing Virtual Reality Experiences with Unity 2022

Product typeBook
Published inNov 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781804619537
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Steven Antonio Christian
Steven Antonio Christian
author image
Steven Antonio Christian

Steven Christian is an Augmented Reality Developer, Animator, and Medical Student Student. He's also the Owner of Iltopia Studios where he creates comics and cartoons that explore the Black experience in America. He is Unity Certified 3D Artist and Instructor and his goal is to improve equity in arts and technology through content creation and community-focused education.
Read more about Steven Antonio Christian

Right arrow

Adding indoor lights

As I mentioned in the lighting chapter (Chapter 6), setting up our lights is crucial to increase visibility; but more importantly, if you don’t set up your lights correctly, you will run into performance issues. We will cover more on how to improve performance by baking our lights in Chapter 18, which covers optimizations. But for now, our focus is on setting up our lights in a way that makes sense for the art gallery and creating a system to control the lights based on proximity.

Note

Overuse of dynamic lights can hinder performance, particularly in VR. Implementing baked lighting for static items is advisable to enhance performance.

To set up indoor lighting with spotlight prefabs (Figure 12.3), follow these steps:

  1. Create a new, empty GO as a child of ArtGallery.
  2. Name it CeilingLights.
  3. From our prefabs folder, add a CeilingLight prefab as a child of the CeilingLights GO.
  4. Set the X position to 0.09.
  5. Set the Y position to...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Enhancing Virtual Reality Experiences with Unity 2022
Published in: Nov 2023Publisher: PacktISBN-13: 9781804619537

Author (1)

author image
Steven Antonio Christian

Steven Christian is an Augmented Reality Developer, Animator, and Medical Student Student. He's also the Owner of Iltopia Studios where he creates comics and cartoons that explore the Black experience in America. He is Unity Certified 3D Artist and Instructor and his goal is to improve equity in arts and technology through content creation and community-focused education.
Read more about Steven Antonio Christian