Method SetLightLayer
SetLightLayer(RenderingLayerMask, RenderingLayerMask)
Set the light layer and shadow map light layer masks. The feature must be enabled in the HDRP asset in norder to work.
Declaration
public void SetLightLayer(RenderingLayerMask lightLayerMask, RenderingLayerMask shadowLayerMask)
Parameters
Type | Name | Description |
---|---|---|
RenderingLayerMask | lightLayerMask | Layer mask for receiving light |
RenderingLayerMask | shadowLayerMask | Layer mask for shadow rendering |