기술 자료

Unity Engine

Unity Engine

ShadowMapPass

Allows precise control over which shadow map passes to execute CommandBuffer objects attached using Light.AddCommandBuffer.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

[Flags]public enum ShadowMapPass

Remarks

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

Fields

Value

Description

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