Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 2.76 KB

File metadata and controls

76 lines (52 loc) · 2.76 KB
uid urp-master-stack-fullscreen

Fullscreen Master Stack reference for Shader Graph in URP

Use the Fullscreen Master Stack to create a Shader Graph material to apply to the entire screen at the end of the rendering process. You can use this to create custom post-process and custom pass effects.

A full-screen shader that applies a raindrop effect to the screen.

Contexts

A shader graph contains the following contexts:

The Fullscreen Master Stack has its own Graph Settings that determine which blocks you can use in the Shader Graph contexts.

This section contains information on the blocks that this Master Stack material type uses by default, and which blocks you can use to affect the Graph Settings.

Vertex context

The Vertex context represents the vertex stage of this shader. Unity executes any block you connect to this context in the vertex function of this shader. For more information, refer to Master Stack.

Vertex blocks are not compatible with the Fullscreen Master Stack.

Fragment context

The Fragment context represents the fragment (or pixel) stage of this shader. Unity executes any block you connect to this context in the fragment function of this shader. For more information, refer to Master Stack.

Default

When you create a new Fullscreen Master Stack, the Fragment context contains the following blocks by default.

[!include] [!include]

Property Description Setting Dependency Default Value

Relevant

The following blocks are also compatible with the Fullscreen master stack.

[!include] [!include] [!include]

Property Description Setting Dependency Default Value

Fullscreen Master Stack reference

For more information about the properties available in the Fullscreen Master Stack, refer to the Master Stack Fullscreen reference for URP.