Documentation

Unity Engine

Download Unity

Unity Engine

standardShaderQuality

The Standard Shader Quality.
Read time 1 minuteLast updated 7 days ago

Definition

Warning
Deprecated. TierSettings 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 graphics tiers. To adjust rendering for different devices in URP, assign a different URP asset to each quality level instead.
public ShaderQuality standardShaderQuality

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. The Universal Render Pipeline (URP) doesn't use graphics tiers. To adjust rendering for different devices in URP, assign a different URP Asset to each quality level.
It will set one of UNITY_PBS_USE_BRDF3, UNITY_PBS_USE_BRDF2, UNITY_PBS_USE_BRDF1 shader compiler defines (for Low, Medium, High quality respectively) and tweak UNITY_BRDF_PBS shader compiler define accordingly.