|Renderer|{{RootFieldType|RelayRef`1|[[Component:MeshRenderer|MeshRenderer]]}}|TypeAdv0=true| The renderer that the geometry is being used for the effect. This really only works best with flat surfaces, so use a quad in the target mesh renderer.
|Renderer|{{RootFieldType|RelayRef`1|[[Component:MeshRenderer|MeshRenderer]]}}|TypeAdv0=true| The renderer that the geometry is being used for the effect. This really only works best with flat surfaces, so use a quad in the target mesh renderer.
|ReflectionTexture|{{RootFieldType|AssetRef`1|[[Type:RenderTexture|RenderTexture]]}}|TypeAdv1=true| The render texture that this component should render what it wants to display to. This texture should be used in an unlit material that goes on the <code>Render</code>'s mesh.
|ReflectionTexture|{{RootFieldType|AssetRef`1|[[Type:RenderTexture|RenderTexture]]}}|TypeAdv1=true| The render texture that this component should render what it wants to display to. This texture only works with a [[Component:ReflectionMaterial|Reflection Material]] that goes on the <code>Render</code>'s mesh.
|PlaneOffset|Float| How far away from the surface the mirror or portal should render from. This doesn't need to be touched for a mirror, and causes some weird effects.
|PlaneOffset|Float| How far away from the surface the mirror or portal should render from. This doesn't need to be touched for a mirror, and causes some weird effects.
|PlaneNormal|Float3| Rotates what the mirror is rendering. this can can cause some very strange effects for Mirrors and Portals, and is best understood by playing with it.
|PlaneNormal|Float3| Rotates what the mirror is rendering. this can can cause some very strange effects for Mirrors and Portals, and is best understood by playing with it.
Camera Portal, Also known as: Mirror, Portal, Gateway, Non Euclidean, and Bigger on the inside thing. This component allows for making a flat surface appear to have something on the other side.
The renderer that the geometry is being used for the effect. This really only works best with flat surfaces, so use a quad in the target mesh renderer.
The render texture that this component should render what it wants to display to. This texture only works with a Reflection Material that goes on the Render's mesh.
The slot that should be used as a position to render from. When using Mirror RenderMode, keep this as the same slot as Renderer. When using Portal RenderMode, set the slot as the thing you're trying to make a gateway to visually (for a tardis, this would be the interior entrance somewhere else in the world)
Override the default nearclip from ~0 to this value when enabled.
Behavior
This component does not allow for recursion (So you cannot put two mirrors in front and behind and expect them to reflect each other, or portal each other).
Currently, this component does not support culling of objects via object layers, and captures everything the local user currently can render via their POV. there is no way of changing this at the current moment.
Examples
This component is used in mirrors to make what is behind you appear to be on the other side like a mirror, and it is also useful for portals or making a T.A.R.D.I.S.