ドキュメント

Unity Engine

Unity Engine

ShadowMapPass

Allows precise control over which shadow map passes to execute CommandBuffer objects attached using Light.AddCommandBuffer.
読み終わるまでの所要時間 1 分最終更新 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.