ShadowMapPass

enumeration

매뉴얼로 전환

설명

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.

변수

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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961