Skip to content

WearableComputerLab/VRPortalToolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VRPortalToolkit

By Daniel Ablett, Andrew Cunningham, Gun Lee and Bruce Thomas

IMAGE ALT TEXT

A toolkit for portals in Unity, specifically intended for virtual reality (but also works in standard mono). Portal rendering is implemented using Unity's Universal Render Pipeline (URP) and does not require custom shaders for objects. This toolkit was designed to be easily added to existing projects with minimal effort.

Features

  • Multi-pass and single-pass stereo support
  • Stencil and render texture portals
  • "Infinite" recursion
  • Optimised culling through portals
  • Seamless teleportation through portals
  • Physics interactions through portals
  • XR Interaction Toolkit support for interacting through portals
  • A variety of portal interaction techniques:
    • Point & Portal - Place portals at a distance quickly using a pointer
    • Adaptive Portals - Self-adjusting portals that respond to user interactions
    • Portal Overlays - Overlays that support users understanding of portals

Requirements

  • Unity 2020.3.32f1 or similar
  • Universal Render Pipeline (URP)
  • Unity's XR Interaction Toolkit (Optional)

Quick Start

  1. Add the PortalRenderFeature to your URP Renderer
  2. Add a BasicPortalPair prefab (or XRPortalPair prefab for VR) to your scene
  3. Play and interact with your first portal!

Examples

The toolkit includes example scenes demonstrating:

  • The Point & Portal interaction technique
  • Adaptive Portals interaction techniques
  • Portal Overlays visualisation techniques

Research

This toolkit was developed in conjunction with the following research papers:

About

Toolkit for using portals in Unity, specifically intended for virtual reality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published