885 B
885 B
Creating a sample scene
To follow the examples in this section:
-
Install URP into an existing Unity project, or create a new project using the Universal Project Template.
-
In the sample Scene, create a GameObject to test the shaders on; for example, a capsule.
-
Create a new Material and assign it to the capsule.
-
Create a new Shader asset and assign it to the Material of the capsule. When following an example, open the shader asset to edit the Unity shader source file. Replace the code in the source file with the code in the example.
To start writing URP shaders, continue to section URP unlit basic shader.