Class ShaderConfig
Project-wide shader configuration options.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Config.Runtime.dll
Syntax
public class ShaderConfig
Fields
| Name | Description |
|---|---|
| FPTLMaxLightCount | Indicates the maximum number of lights available for Fine Prunning Tile Lighting. |
| LightClusterMaxCellElementCount | Indicates the cap on the maximum number of elements per cell in the light cluster. |
| PathTracingMaxLightCount | Indicates the maximum number of lights in the path tracing light list. |
| k_XRMaxViewsForCBuffer | Maximum number of XR views for constant buffer allocation. |
| s_AreaLights | Indicates whether to support area lights. |
| s_BarnDoor | Indicates whether to support barn doors. |
| s_CameraRelativeRendering | Indicates whether to use camera-relative rendering to enhance precision. |
| s_GlobalMipBias | Indicates whether to support application of global mip bias on all texture samplers of hdrp. |
| s_PreExposition | Indicates whether to use pre-exposition to enhance color prevision. |
| s_PrecomputedAtmosphericAttenuation | Indicates whether to precompute atmosphere attenuation for the directional light on the CPU. |
| s_XrMaxViews | Specifies the maximum number of views to use for XR rendering. |