May 1, 2021

Tool Guide – Mirror Surface

Latest Version: 0

The Mirror Surface tool is an easy way to create real mirrors inside your scene. When used in scene creation on a plane, it converts the plane into a mirror with depth that accurately reflects the world.

VERY IMPORTANT #1: A mirror in a video game is really just a camera, and because it is a camera with depth, it is two cameras. Each one of the cameras is a huge amount of work to render, so use this only if you really need it and it’s going to be the focal point of your scene. A mirror effectively triples the amount of GPU work required to render your scene, and in all but the most basic scenes, it will render your scene unplayable on Oculus Quest.

VERY IMPORTANT #2: Mirrors only work indoors. The mirror does not correctly render skyboxes, and will produce bizarre graphic artifacts if you use it outside where the mirror can reflect the skybox. Ensure that your user can not see the sky in the reflection.

Consider using this in combination with the Graphics Quality Marker tool to have the mirror only appear on High and Ultra level graphics if it is not absolutely required.

How to use

  1. Create a plane in your scene by right-clicking on the hierarchy window, and choosing 3D Object -> Plane
  2. Position the plane as you would like the mirror. Adjust the scale as needed to make it the desired size. Changing the scale does not affect how this mirror reflects the scene (it does not, for example, become a funhouse mirror if you make it tall and skinny.)

Section Information

Options

 

There are no customizable sections of the Mirror Surface tool. It performs its function automatically.