Unity-Technologies / Graphics
- суббота, 25 апреля 2020 г. в 00:20:15
HTML
Unity Graphics - Including Scriptable Render Pipeline
The Scriptable Render Pipeline (SRP) is a Unity feature designed to give artists and developers the tools they need to create modern, high-fidelity graphics in Unity. Unity provides two pre-built Scriptable Render Pipelines:
Unity is committed to an open and transparent development process for SRP and the pre-built Render Pipelines. This means that so you can browse this repository to see what features are currently in development.
For more information about the packages in this repository, see the following:
This repository uses the master branch for main development. Development on this branch is based on the latest internal version of Unity so it may not work on the latest publicly available version of Unity. The following list contains Unity version/major SRP version pairs which you can use as a guideline as to which major SRP version you can use in your Unity Project:
The above list is a guideline for major versions of SRP, but there are often multiple minor versions that you can use for a certain version of Unity. To determine which minor versions of SRP you can use:
After you decide which version of SRP to use:
To clone the repository, you can use a visual client, like GitHub Desktop, or use console commands. When you clone the repository, make sure to clone it outside of your Unity Project's Asset folder.
After you clone the repository, you can install the package into your Unity Project. To do this, see Installing a local package.
After you clone the repository, open your console application of choice in the Graphics folder and run the following console command:
\> git checkout v7.1.8 (or the latest tag)
Open your console application of choice and run the following console commands:
\> cd <Path to your Unity project>
\> git clone https://github.com/Unity-Technologies/Graphics
\> cd Graphics
\> git checkout v7.1.8 (or the latest tag)
Unity provides sample Scenes to use with SRP. You can find these Scenes in the Graphics GitHub repository. To add the Scenes to your Project, clone the repository into your Project's Assets folder.