Challenge: Create a Custom URP Material using the Lit Shader
Tutorial
·
intermediate
·
+0XP
·
15 mins
·
(116)
Unity Technologies

The goal of this exercise is to:
- Walk through the steps to create a custom URP Material, using the Lit Shader
- Create new Materials after importing the URP package and setting up the URP asset.
- Use URP’s Lit Shader to set up these new Materials.
Materials
1. Creating Custom URP Material
- Create a new material for the ships’ windows (Project Window > Create > Material).
- Notice the Shader is the URP/Lit shader.
- Set the Surface Type to Transparent.
- Select the Color Swatch, and reduce the Alpha to 30.
- Apply the Material to one of the ship’s front windows, the “Screen” GameObject.
- Set the Material’s Color. We chose Blue.

Setting up the Material's color