Version: 2021.1
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.
Shaders
Shaders introduction
Copyright © 2020 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961