Version: 2023.2
Language : English
Shaders
Shaders introduction

Shaders core concepts

This section contains information on the fundamentals of working with shadersA program that runs on the GPU. More info
See in Glossary
in Unity.

Screenshot from The Heretic.
Screenshot from The Heretic.
Page Description
Shaders introduction Introductory information about shaders, and key terminology.
The Shader class An overview of the Shader class, which acts as a wrapper for regular graphics shader programs.
Shader assets Information about assets that represent an instance of the Shader class.
Shader compilation How and when Unity compiles shaders.
Shader loading How and when Unity loads shaders.
Shader variants and keywords An introduction to shader variants and shader keywords, and information on working with them.
Replacing shaders at runtime In the Built-in 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
, you can tell a CameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
to change the shader that it uses to render certain geometry at runtime.
Compute shaders Working with compute shaders in Unity.
Error and loading shaders The special shaders that Unity uses when it can’t use regular shaders.
Shaders
Shaders introduction