1.6 KiB
Unlit material
The Unlit Shader and the Unlit Shader Graph let you create Materials that are not affected by lighting. They include options for the Surface Type, Emissive Color, and GPU Instancing. For more information about Materials, Shaders and Textures, see the Unity User Manual.
Creating an Unlit Material
New Materials in HDRP use the Lit Shader by default. To create an Unlit Material, you need to create a new Material then make it use the Unlit Shader. To do this:
-
In the Unity Editor, navigate to your Project's Asset window.
-
Right-click the Asset Window and select Create > Material. This adds a new Material to your Unity Project’s Asset folder.
-
Click the Shader drop-down at the top of the Material Inspector, and select HDRP > Unlit.
Refer to Unlit Material Inspector reference for more information.
Creating an Unlit Shader Graph
To create an Unlit material in Shader Graph, you can either:
-
Modify an existing Shader Graph.
- Open the Shader Graph in the Shader Editor.
- In Graph Settings, select the HDRP Target. If there isn't one, go to Active Targets, click the Plus button and select HDRP.
- In the Material drop-down, select Unlit.
-
Create a new Shader Graph. Go to Assets > Create > Shader Graph > HDRP and select Unlit Shader Graph.
Refer to Unlit Master Stack reference for more information.