Domemaster package for Unity. Updated for Unity 5. Now works with free version.
Option #1 - 180, 210, 240 Degree Field of View
This uses either 4 cameras to project a 180 degree or 5 cameras to project a 210 or 240 degree circular fisheye projection. The DomeCamera script automatically links to the camera which has the default tag "MainCamera". Alternatively, you can link the camera by assigning the "Target" property of the DomeCamera script. The Domemaster object can be positioned anywhere. Sprite-based particles and other effects do not render correctly.
To use:
- Import the "Domemaster" package.
- Open up the "Camera Rigs" folder in the Assets tab.
- Open up the folder labeled with desired view of view (180, 210, or 240).
- Drag the "DomeCamera" prefab to the scene.
- Drag the "Domemaster" prefab to the scene.
Option #2 - Camera Shader
This applies a fisheye distortion and circular mask to a normal camera. It does not provide a wider field of view.
To use:
- Import the "Domemaster" package.
- Open up the "Camera shader" folder in the Assets tab.
- Drag the "DomemasterFisheye.cs" script to the camera in your scene.
- Drag the "DomemasterFisheyeShader.shader" to the "DomemasterFisheye.cs" script.
- Make sure the "DomemasterFisheye.cs" script is active.
Based on previous version by Paul Bourke: http://paulbourke.net/dome/unity3d/