ParelVRDocs
Player site

Creators / Worlds

Mirrors

Mirrors that render correctly for each eye in VR.

Adding a mirror#

GameObject > ParelVR > Mirror, or add ParelVR Mirror to a quad whose front faces the room.

Field What it does
Reflect Layers Which layers the mirror shows. Leave out layers you do not need.
Resolution Pixels along each side of each eye's picture, 256 to 4096.
Anti Aliasing 1 (off), 2, 4 or 8 samples.
Max Distance Further than this from the mirror, it stops updating.
Far Clip Plane How far into the reflection things are drawn.
Tint A colour the reflection is multiplied by.
Custom Material Your own material for a custom look.

Custom mirrors#

Give the mirror your own material to add frames, tints, distortion or fades. Its shader receives the reflection as _ReflectionTexLeft and _ReflectionTexRight; sample them at the screen position flipped on X, the way the SDK Mirror shader does.

Mirror scripts of your own do not run in uploaded worlds. A custom material is the way to make a different mirror.

Players' own mirrors#

Players can always open a Personal Mirror from the radial menu, so you do not need a mirror everywhere.