Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Camera
1/5
OffAxisCamera computes and applies an off-axis perspective projection to a camera dynamically. Simply add OffAxisCamera to your scene and assign a GameObject that will serve as the window plane.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.1.20f1
Compatible
Compatible
Compatible
2021.3.12f1
Compatible
Compatible
Compatible
2020.3.41f1
Compatible
Compatible
Compatible
Description

Off-axis perspective projection is often used in VR/XR applications where you need to render a perspective that matches the viewpoint of a spectator relative to a display. It can be used in conjunction with head tracking, providing the illusion of a dynamic view into a 3D scene, similar to looking through a window.


The view and projection matrices are applied using Unity's physical camera properties (2018.4 LTS and up), supporting Unity's native rendering.


Use case examples

- Panorama multi display setups.

- Cubic VR CAVE display setups.

- Building facade video projection setups.


Disclaimers

- Some post effects are incompatible with multiple edge-aligned cameras. See possible workarounds below.

- Although the off-axis perspective is applied correctly to URP and HDRP cameras, don't expect a flawless merge between edge-to-edge aligned cameras. Rendering in HDRP and URP does not seem to take into account this use case scenario, and it is likely that some features are incompatible (Sept 2020).

- The package does not include any head/eye tracking functionality, but it can easily be combined with tracking software by setting the camera position dynamically.

- The package does not include any four corner perspective correction functionality. This is needed for example in a VR CAVE setup, where you need to adjust the video projection areas to fit your physical surfaces.


Known issues with multiple edge-aligned cameras

When using multiple cameras that are aligned edge to edge, you may experience different brightness in each camera image and/or visible gradient at borders. Here are some workarounds:


Active post effects settings:

- Disable Vignetting.

- Reduce or disable Bloom and Ambient Occlusion. These effects are computed by sampling neighbouring pixels, so edges won't be perfect. Alternatively, render extra margin and crop in post after these effects.


HDRP specific active post effects settings:

- Disable Exposure or set its Mode setting to Fixed so that all camera are exposed evenly.

- Visual Environment, HDRI Sky and Fog works together, and they do not respect off-axis perspectives. If you can live with a minor brightness misalignment, then for Visual Environment set Type to Gradient Sky, and for Fog disable Anisotropy, otherwise disable all of them.


Also note:

- Shadow distance fadeouts works "as expected" which may not be what you desire for off-axis projection where different edges of the camera view can have radically different distances.

OffAxisCamera

(7)
98 users have favourite this asset
(98)
$5
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
3 years ago
easy and intuitive!!
Although there are some strange things about HDRP, it is simple and easy to use overall!
License type
File size
87.6 KB
Latest version
1.2.3
Latest release date
Oct 28, 2022
Original Unity version
2020.3.41
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR