Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Custom shaders

Resources for writing programs that run on the GPU to draw GameObjects in a scene.
Read time 1 minuteLast updated 20 days ago

Resources for using or writing programs that run on the GPU to control the appearance of objects in a scene.

Screenshot from The Heretic.

Page

Description

Writing custom shadersResources for creating your own shaders using Shader Graph, or High-Level Shader Language (HLSL) and ShaderLab.
Optimize shadersOptimizing custom shaders for runtime performance, especially on mobile platforms that have limited GPU performance.
Writing custom shaders in URPResources for using or writing shaders in the Universal Render Pipeline (URP).
Custom shaders in the Built-In Render PipelineResources for writing HLSL code, ShaderLab code, and Surface Shaders in the Built-In Render Pipeline.
Troubleshooting shadersSolve common issues with shaders, such as hitches and stalls, or large build sizes.
Shader languages referenceReference for ShaderLab, and High Level Shader Language (HLSL) in Unity.

Further resources