Version: 2018.2

ShadowMapPass

enumeration

Switch to Manual

Description

Allows precise control over which shadow map passes to execute CommandBuffer objects attached using Light.AddCommandBuffer.

These flags only take effect when used with Rendering.LightEvent/BeforeShadowMapPass or Rendering.LightEvent/AfterShadowMapPass.

Variables

PointlightPositiveX+X point light shadow cubemap face.
PointlightNegativeX-X point light shadow cubemap face.
PointlightPositiveY+Y point light shadow cubemap face.
PointlightNegativeY-Y point light shadow cubemap face.
PointlightPositiveZ+Z point light shadow cubemap face.
PointlightNegativeZ-Z point light shadow cubemap face.
DirectionalCascade0First directional shadow map cascade.
DirectionalCascade1Second directional shadow map cascade.
DirectionalCascade2Third directional shadow map cascade.
DirectionalCascade3Fourth directional shadow map cascade.
SpotlightSpotlight shadow pass.
PointlightAll point light shadow passes.
DirectionalAll directional shadow map passes.
AllAll shadow map passes.