Documentation

Unity Engine

Download Unity

Unity Engine

LensFlare

Default shader used for lens flares.
Read time 1 minuteLast updated 6 days ago

Definition

Warning
Deprecated. BuiltinShaderType is deprecated and will be removed in a future release. It's used only by the Built-In Render Pipeline, which is no longer supported. The Universal Render Pipeline (URP) doesn't use built-in shader settings.
LensFlare = 7

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. For more information on migrating to URP, refer to Migrating from the Built-In Render Pipeline to URP.
This is default shader used for lens flares.