Gita Assets
Unity / VFX

Unity Portals for VR 1.1.0 URP Portal VFX | Portals for VR

Overview

A recursive portal solution built for the Universal Render Pipeline (URP), compatible with Single Pass Multiview VR and also suitable for non-VR desktop and mobile projects. Portals can be traversed in VR without a single glitch through walls, and the package now includes AR Portals that let you step in and out of reality on passthrough VR headsets such as Quest 1, 2, 3 and Pro. Portals are recursive, so you can see a portal through another portal, and they can be completely flat planes occupying the same space as a wall with no clipping issues, even with one eye on each side of a portal and large near clipping values on the camera. The shaders support animated transparency and animated refraction, and alpha maps baked into albedo textures can open up textured portals as you walk towards them. A fully working scene preview is included, and the Shader Graph materials are easy to modify. A simple VR demo camera controller and a portal gun example are also included to get you started.

Key features

All scripts are written in C# (no DLLs) and the shader is built in Shader Graph, so you can easily modify it to suit your needs.
Recursive portals: see a portal through another portal, and so on.
Shaders support animated transparency and animated refraction; alpha maps baked into albedo textures open textured portals as you approach.
A fully working scene preview is included, with Shader Graph materials that are easy to modify.
Many options to tweak performance: change the resolution, modify the layer mask, limit anti-aliasing, and blend gradually to a static color over a set distance.
A system for objects to traverse through portals, tested with the XR Interaction Toolkit, Hurricane and VRIF frameworks and easy to integrate with other interaction frameworks and character controllers.

Included content

A simple VR demo camera controller and portal gun example.
An AR Portal demo scene with new shaders.
A demo scene showcasing skybox switching.
Integration examples for Hurricane, VRIF, BNG, the XR Interaction Toolkit and the Cinemachine Third Person Controller.
A generic example and a Hurricane example for shooting rays through portals.
New portal art.

Compatibility

The version sold in this store is the version actually delivered (the supplied version is not specified in this official record); compatibility below is based on the current official version (1.3.1) and is provided for reference only.
Render pipeline: Universal Render Pipeline (URP) only; the standard renderer and the High Definition Render Pipeline (HDRP) are not supported.
Unity versions (official compatibility matrix): 2021.3.28f1, 2022.3.37f1 and 6000.3.8f1 are all URP supported, while Built-in and HDRP are unsupported.
Officially tested from Unity 2020.3.36 all the way to Unity 6.3.
VR: Single Pass Multiview and OpenXR Single Pass Instanced are supported; Oculus XR set to Multiview is not recommended.
Tested devices: Oculus (Meta) Quest 1, 2 and Pro (desktop and on-device), Vive with SteamVR.
Forward rendering is highly recommended.

Requirements

The Universal Render Pipeline (URP) is required; the standard renderer is not supported.
Programming skills are most likely needed to integrate interaction features.
The object traversal system has been tested with the XR Interaction Toolkit, Hurricane and VRIF frameworks; for interaction features, use one of these frameworks or Unity's XR Interaction Package.
Forward rendering is highly recommended.

Render pipeline compatibility

UnityBuilt-inURPHDRP
6000.3.8f1
2022.3.37f1
2021.3.28f1

Technical specifications

Original creator
Tom Goethals
Current official version
1.3.1
Supported engines
2021.3.28, 2022.3.37, 6000.3.8, 2021.3.28f1, 2022.3.37f1, 6000.3.8f1
Render pipelines
2021.3.28f1 · URP; 2022.3.37f1 · URP; 6000.3.8f1 · URP
Official file size
88.93 MB
Official update date
2026-04-20
Asset file count
133
Package format
unitypackage
First official release
2022-09-30

Tags

Full description

Built for VR but perfect for non-VR Desktop and Mobile projects as well. This is for the URP pipeline, tested from Unity 2020.3.36 all the way to Unity 6.3, do not buy it if you're using the standard renderer. Check the documentation regularly for the last updates. Forward rendering is highly recommended. Introducing AR Portals for passthrough VR headsets like Quest 1, 2, 3, and Pro. This update comes with a demo scene and new shaders, enabling you to portal in and out of reality. (currently tested on Quest 1, 2 and Pro) Fully working scene preview, easily modify the Shadergraph materials. Shaders supports animated transparency, animated refraction for some really cool effects. Alpha maps baked into your albedo textures can be used to open up the textured portals as you walk towards them. Portals are recursive, meaning you can see a portal through another portal through another portal and so on. Lots of care and attention has been given for portals to be seamless in VR, standing in the center of a portal with 1 eye on the left side and the other on the right works perfectly even with large near clipping values on your camera. Portals can be completely flat planes occupying the same space as a wall and still have no clipping issues. Many options to tweak performance. Change the resolution, modify the layermask, limit AA and Blend gradually to a static color over a set distance. Includes a system for objects to traverse through the portals, tested with the excellent XR Interaction Toolkit, Hurricane and VRIF frameworks and easy to integrate with other Interaction frameworks and character controllers. The video shows some assets (like the hands) from interaction frameworks. These are not included. However a simple VR demo cameraController and portalgun example is included to get you started. Looking for an interaction package? Have a look at the Hexabody Hurricane package or check out VRIF. Unity's XR Interaction Package is also supported. Please understand, should you buy this package, it's a solution to the really difficult problem of passing through portals without any glitches in VR. So the left and right eye can be in another place while the portal itself is a flat surface and against a wall. It is not an interaction framework. (Like Hurricane, VRIF, ...) and you'll most likely need some programming skills to integrate it. Rendering portals means you're rendering the whole scene visible from the portal again and possibly twice more depending on the recursion settings. In VR, this happens for each eye. Needless to say this is a heavy effect. Framerate is live! so be prepared to optimize every little detail in order to hit framerate on Mobile VR. Check out the APK on Quest 2 to see what is possible. Currently tested in VR on: Oculus (Meta) Quest 1, 2 and Pro (Desktop and on-device) Vive - SteamVR Currently investigating a small glitch on Vive in your peripheral vision you can see something flickering while in between 2 portals

Oculus XR set to Multiview (not recommended) OpenXR set to SinglePass Instanced

For a detailed compatibility list and instructions please read the documentation.

All scripts are written in C# (no dll's) and the shader is built in ShaderGraph so you can easily modify it to suit your needs. Everything in the video is provided but you're buying this for the portal code and VR compatibility, not the art :-)

Ratings and reviews

You can rate and review this item after purchase.

No buyer reviews yet.

Contact support