Struct PunctualLightData
The point/spot light data passed to the deferred shaders.
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public struct PunctualLightData
Fields
Name | Description |
---|---|
attenuation | The attenuation of the light. |
color | The color of the light. |
flags | The flags used. |
layerMask | The layer mask used. |
occlusionProbeInfo | The occlusion probe info. |
radius | The radius of the light. |
spotDirection | The direction for spot lights. |
wsPos | The world position. |