Physically Based Sky and Precomputed Atmospheric Scattering for Unity URP (Universal Render Pipeline).
Please read the Documentation and Requirements before using this repository.
- Physically Based Sky
- Atmospheric Scattering
- Height-Based Fog
- Dynamic Sky Reflection
- Dynamic Ambient Lighting (PBSky only)
- Please refer to Unity's documentation page.
- Open the Package Manager and select Add package from git URL from the add menu.
- Enter https://github.com/jiaozi158/UnityPhysicallyBasedSkyURP.git to install this package.
- If Unity could not find git, consider installing it here.
- Add the Physically Based Sky URP renderer feature into the active URP renderer.
- Add the Sky/Visual Environment (URP) override to the scene's Volume.
- Add the Sky/Physically Based Sky (URP) override to the scene's Volume.
- Add the Sky/Fog (URP) override to the scene's Volume.
- Unity 2022.3 (URP 14) or higher.
- Shader model 3.5 or higher (at leaset OpenGL ES 3.0 or equivalent).
- Perspective Projection Camera.
- It is suggested to set the Sun Intensity to 3 (3.030782) and the Exposure to 0 as a starting point.
- Please open an issue if anything went wrong.