Version: Unity 6 (6000.0)
Language : English
Create a shader variant collection
Introduction to asynchronous shader compilation

Asynchronous shader compilation in the Editor

Resources for compiling shaderA program that runs on the GPU. More info
See in Glossary
variants in the background, and using placeholder shaders in the meantime.

Page Description
Introduction to asynchronous shader compilation Learn about how asynchronous shader compilation works, and exceptions.
Enable or disable asynchronous shader compilation Enable or disable asynchronous shader compilation in your project, for specific rendering calls, in a specific scope, or for specific Shader objectsAn instance of the Shader class, a Shader object is container for shader programs and GPU instructions, and information that tells Unity how to use them. Use them with materials to determine the appearance of your scene. More info
See in Glossary
.
Detect asynchronous shader compilation Monitor the state of asynchronous shader compilation, and perform operations when the state changes.
Avoid cyan placeholder shaders during asynchronous shader compilation Configure your custom tools to draw something other than the placeholder shader for each material.
Create a shader variant collection
Introduction to asynchronous shader compilation