Version: Unity 6.4 Beta (6000.4)
Language : English
Terrain Lit shader graph reference for URP
Unlit shader graph reference for URP

UI shader graph reference

Explore the properties and settings you can use to customize the default UI shader graph in the Universal Render PipelineA series of operations that take the contents of a Scene, and displays them on a screen. Unity lets you choose from pre-built render pipelines, or write your own. More info
See in Glossary
(URP).

Contexts

The default Fragment Context contains the following Blocks. Which Blocks display might change depending on the graph settings.

Fragment Context

Input Type Description
Base Color Vector3 Sets the base color of the material. The default is Color.grey.
Alpha Float Sets the alpha of the material. The range is 0 to 1. The default is 1.

Graph Settings

Explore the shaderA program that runs on the GPU. More info
See in Glossary
graph settings you can use to customize the Fragment context.

For more details about graph settings that are common to all shader graph shaders, refer to Graph Settings tab.

Setting Description
Blending Mode Sets how the shader blends the color of a transparent material with the background. This property is available only when you set Surface Type to Transparent. The options are:
  • Alpha: Calculates transparency using the alpha value of the material.
  • Premultiply: Calculates transparency using the alpha value of the material, but multiplies the RGB values by the alpha value first.
  • Additive: Adds the color of the material to the background color.
  • Multiply: Multiplies the color of the material with the background color.
For more information about blending modes, refer to Blend modes.

Additional resources

Terrain Lit shader graph reference for URP
Unlit shader graph reference for URP