{"repo":"s9lucas/URP-Equirectangular-Camera","free":true,"listed":false,"github":"https://github.com/s9lucas/URP-Equirectangular-Camera","clone":"git clone https://github.com/s9lucas/URP-Equirectangular-Camera.git","description":"Example Unity project showing 360° equirectangular camera for Universal Render Pipeline (URP)","language":"Mathematica","stars":57,"topics":["unity","equirectangular-projection","panorama-image","cubemap","camera"],"license":"MIT","category":"game-templates","readme_excerpt":"URP-Equirectangular-Camera Example Unity project showing 360° equirectangular camera for Universal Render Pipeline (URP). This can be used to convert Unity scenes to be viewed as 360 panoramas on platforms like YouTube. The shader is adapted from Mapiraz/CubemapToEquirectangular which I could not get to work with URP initially. Getting Started This repo contains an example project, tested in Unity 2019.3.12f1. To include in your own project, copy /Assets/URPEquirectangularCamera into your project's /Assets. Add /Assets/URPEquirectangularCamera/CubemapCamera.prefab to your scene and disable other cameras. You may need to activate Play mode to see the render texture activate but it should run and update in the editor after that. How does it work? The primary components are: Camera with CubemapRender.cs sets the camera to render to a CubeMap texture CubeMapTexture.renderTexture that gets updated with CubeMap image from the camera CubeMapMat.mat so that you can apply a shader CubeMaptoEquirectangular.shader that remaps the texture image to equirectangular 360 format EquirectangularCanvas that renders the texture with the shader as \"Screen Space - Overlay\" so that it replaces the camera on the display You could potentially use a different .shader to accomplish another kind of output projection mapping and the process should be the same. Using the Camera Output For my purposes, I use the following process: set ProjectSettings/Player/Resolution to 3840x2160 Windowed so that the proj","default_branch":null,"files":null,"tree":[],"storefront":"/r/s9lucas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/s9lucas/URP-Equirectangular-Camera/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}