Introduction to Shaders

A shader is a program that runs on the GPU, typically consisting of two "entry functions" known as the Vertex Shader and the Fragment Shader, corresponding to two different stages of the rendering pipeline. Below is a simplified illustration of the engine's rendering process (rendering pipeline), focusing on the shader part.

Simplified Rendering Pipeline

In this chapter, we will cover the following topics:

SectionContent
Shader ObjectOverview and basic usage of the Shader object in the engine
Built-in ShadersCommon built-in shaders in the engine
Shader AssetsHow to create and modify Shader assets in the editor
ShaderLabA more convenient way to create Shaders

Was this page helpful?