Rendering

Shader Graph

Shader Graph is a visual node editor that compiles to shader code, so you can build and prototype materials without writing HLSL.

Getting Started

The editor layout, creating nodes, and the input/output types.

Properties

Blend mode, shading model, and domain: the settings that decide how the resulting shader is drawn.

Variables

Constants, exposing values to the Material Editor, and reading them from code.

Custom Nodes

Make your own node types with subgraphs or C#.

Source: Facepunch/sbox-docs (CC-BY-4.0) · updated 2026-08-03. Read it rendered on the official docs.

More in Rendering

Community wiki — not affiliated with Facepunch Studios. For the latest and most authoritative information, see the official developer wiki.